sync instead of just pickle on torrent move
This commit is contained in:
parent
c9a15f9b64
commit
67a66ce2bd
@ -609,7 +609,7 @@ class Manager:
|
|||||||
raise StorageMoveFailed(_("You cannot move torrent to a different partition. Please fix your preferences"))
|
raise StorageMoveFailed(_("You cannot move torrent to a different partition. Please fix your preferences"))
|
||||||
elif event['message'] == self.get_pref('default_finished_path'):
|
elif event['message'] == self.get_pref('default_finished_path'):
|
||||||
self.unique_IDs[event['unique_ID']].save_dir = self.get_pref('default_finished_path')
|
self.unique_IDs[event['unique_ID']].save_dir = self.get_pref('default_finished_path')
|
||||||
self.pickle_state()
|
self.sync()
|
||||||
|
|
||||||
elif event['event_type'] is self.constants['EVENT_FINISHED']:
|
elif event['event_type'] is self.constants['EVENT_FINISHED']:
|
||||||
if event['message'] == "torrent has finished downloading":
|
if event['message'] == "torrent has finished downloading":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user