chore: optimize logging. separate bot log and web log.

This commit is contained in:
Terry Geng
2020-02-28 14:08:36 +08:00
parent dc5a30b384
commit cf1feea870
10 changed files with 222 additions and 115 deletions

View File

@ -64,7 +64,7 @@ class PlayList(list):
return False
self.version += 1
logging.debug("playlist: Next into the queue")
#logging.debug("playlist: Next into the queue")
if self.current_index < len(self) - 1:
if self.mode == "one-shot" and self.current_index != -1: