summaryrefslogtreecommitdiffstats
path: root/module/plugins/container/LinkList.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/container/LinkList.py')
-rw-r--r--module/plugins/container/LinkList.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/container/LinkList.py b/module/plugins/container/LinkList.py
index c6173ad73..69461249e 100644
--- a/module/plugins/container/LinkList.py
+++ b/module/plugins/container/LinkList.py
@@ -23,7 +23,7 @@ class LinkList(Container):
def decrypt(self, pyfile):
try:
file_enc = codecs.lookup(self.getConfig("encoding")).name
- except:
+ except Exception:
file_enc = "utf-8"
file_name = fs_encode(pyfile.url)
@@ -64,7 +64,7 @@ class LinkList(Container):
try:
txt = open(file_name, 'wb')
txt.close()
- except:
+ except Exception:
self.logWarning(_("LinkList could not be cleared"))
for name, links in packages.iteritems():