send diagnostics

This commit is contained in:
j 2016-02-23 13:47:10 +05:30
commit edcd933f2b
2 changed files with 40 additions and 0 deletions

View file

@ -11,6 +11,7 @@ import db
import state
import settings
import update
import utils
import logging
logger = logging.getLogger(__name__)
@ -30,6 +31,8 @@ class Downloads(Thread):
settings.server['last_update_check'] = now
update.download()
state.user().export_library()
if settings.preferences.get('sendDiagnostics'):
utils.send_debug()
def download_next(self):
import item.models