more logging, reset cancel imort

This commit is contained in:
j 2016-01-23 18:07:25 +05:30
commit cded8b586a
4 changed files with 25 additions and 2 deletions

View file

@ -328,6 +328,8 @@ def _import(data):
mode copy|move
}
'''
if 'cancel' in state.activity:
del state.activity['cancel']
state.tasks.queue('import', data)
return {}
actions.register(_import, 'import', cache=False)