send diagnostics
This commit is contained in:
parent
695deb0947
commit
edcd933f2b
2 changed files with 40 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue