add Public list, peers can add items to that list
This commit is contained in:
parent
dd0e22a979
commit
f05a212a82
8 changed files with 55 additions and 13 deletions
|
|
@ -43,6 +43,7 @@ class Tasks(Thread):
|
|||
from user.models import (
|
||||
export_list, update_user_peering,
|
||||
add_local_info, remove_local_info,
|
||||
upload
|
||||
)
|
||||
shutdown = False
|
||||
while not shutdown:
|
||||
|
|
@ -81,6 +82,8 @@ class Tasks(Thread):
|
|||
item.scan.import_folder()
|
||||
elif action == 'syncmetadata':
|
||||
sync_metadata(data)
|
||||
elif action == 'upload':
|
||||
upload(data)
|
||||
else:
|
||||
trigger_event('error', {'error': 'unknown action'})
|
||||
if DEUBG_TASKS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue