better online/offline status handling
This commit is contained in:
parent
3b166eccbb
commit
8a26285c88
11 changed files with 92 additions and 40 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue