export library.json into data, fixes #82

This commit is contained in:
j 2016-01-20 13:22:00 +05:30
commit bae70fd829
2 changed files with 8 additions and 1 deletions

View file

@ -28,7 +28,7 @@ class Downloads(Thread):
if now > settings.server.get('last_update_check', 0) + 24*60*60:
settings.server['last_update_check'] = now
update.download()
state.user().library.export_json()
state.user().export_library()
def download_next(self):
import item.models