Enabled video statistics (forgot to enable them), also fixed the synchronization of statistics.

This commit is contained in:
2018-10-29 22:45:12 +02:00
parent ce645b98a3
commit c07d1b61f0
3 changed files with 202 additions and 172 deletions

View File

@ -13,7 +13,7 @@ from YtManagerApp.utils import youtube
log = logging.getLogger('sync')
__lock = Lock()
_ENABLE_UPDATE_STATS = False
_ENABLE_UPDATE_STATS = True
def __check_new_videos_sub(subscription: Subscription, yt_api: youtube.YoutubeAPI):