diff options
author | mkaay <mkaay@mkaay.de> | 2009-12-20 19:51:12 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-12-20 19:51:12 +0100 |
commit | 14f5966246fb22959f1d280f14683b8bf4c6c005 (patch) | |
tree | 89ec1a516c400f9af0877d0e184b6703d6350d85 | |
parent | webinterface - add new button icons (diff) | |
download | pyload-14f5966246fb22959f1d280f14683b8bf4c6c005.tar.xz |
fixed file removing?
-rw-r--r-- | module/file_list.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/file_list.py b/module/file_list.py index 1cd069de7..efe45c044 100644 --- a/module/file_list.py +++ b/module/file_list.py @@ -195,11 +195,10 @@ class File_List(object): try: n, pyfile = collector._getFileFromID(id) del collector.file_list.data["collector"][n] - collector.file_list.lock.release() - except: - collector.file_list.lock.release() else: return pyfile + finally: + collector.file_list.lock.release() def addLink(collector, url): """ |