remove unused old code
This commit is contained in:
parent
27ab96fa94
commit
7484ff5bb0
|
@ -325,13 +325,6 @@ class Manager:
|
||||||
except OSError:
|
except OSError:
|
||||||
pass # No file just means it wasn't downloaded, we can continue
|
pass # No file just means it wasn't downloaded, we can continue
|
||||||
|
|
||||||
### UNNEEDED, fixed already above
|
|
||||||
# # Clean up empty dir
|
|
||||||
# try:
|
|
||||||
# os.rmdir(os.path.dirname(os.path.join(temp.save_dir, filename)))
|
|
||||||
# except OSError:
|
|
||||||
# pass # Perhaps it wasn't a directory...
|
|
||||||
|
|
||||||
# A function to try and reload a torrent from a previous session. This is
|
# A function to try and reload a torrent from a previous session. This is
|
||||||
# used in the event that Deluge crashes and a blank state is loaded.
|
# used in the event that Deluge crashes and a blank state is loaded.
|
||||||
def add_old_torrent(self, filename, save_dir, compact):
|
def add_old_torrent(self, filename, save_dir, compact):
|
||||||
|
|
Loading…
Reference in New Issue