mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 20:44:50 +00:00
Handle os.remove failing on windows
This commit is contained in:
parent
0fcd90ee2c
commit
f2944bdeef
@ -1,4 +1,7 @@
|
|||||||
=== Deluge 1.3.0-rc2 (In Development) ===
|
=== Deluge 1.3.0-rc2 (In Development) ===
|
||||||
|
==== Core ====
|
||||||
|
* Fix tracker_icons failing on windows
|
||||||
|
|
||||||
==== ConsoleUI ====
|
==== ConsoleUI ====
|
||||||
* #1307: Fix not being able to add torrents
|
* #1307: Fix not being able to add torrents
|
||||||
* #1293: Fix not being able to add paths that contain backslashes
|
* #1293: Fix not being able to add paths that contain backslashes
|
||||||
|
@ -263,7 +263,10 @@ class TrackerIcons(Component):
|
|||||||
break
|
break
|
||||||
parser.close()
|
parser.close()
|
||||||
f.close()
|
f.close()
|
||||||
os.remove(page)
|
try:
|
||||||
|
os.remove(page)
|
||||||
|
except Exception, e:
|
||||||
|
log.warning("Couldn't remove temp file: %s", e)
|
||||||
return parser.get_icons()
|
return parser.get_icons()
|
||||||
|
|
||||||
def on_parse_complete(self, icons, host):
|
def on_parse_complete(self, icons, host):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user