mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
remove unused old code
This commit is contained in:
parent
27ab96fa94
commit
7484ff5bb0
1 changed files with 0 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue