better online/offline status handling

This commit is contained in:
j 2015-12-02 22:05:23 +01:00
commit 8a26285c88
11 changed files with 92 additions and 40 deletions

View file

@ -353,7 +353,10 @@ class Item(db.Model):
m['primaryid'] = primaryid
self.meta = m
self.modified = datetime.utcnow()
self.update()
self.update()
return True
return False
return True
def queue_download(self):
u = state.user()