summaryrefslogtreecommitdiffstats
path: root/deluge/metafile.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/metafile.py')
-rw-r--r--deluge/metafile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/metafile.py b/deluge/metafile.py
index 1ebc7b7a9..c85af9462 100644
--- a/deluge/metafile.py
+++ b/deluge/metafile.py
@@ -134,7 +134,7 @@ def makeinfo(path, piece_length, progress, name = None,
raise Exception('Could not convert file/directory name %r to '
'Unicode. Either the assumed filesystem '
'encoding "%s" is wrong or the filename contains '
- 'illegal bytes.') % (name, get_filesystem_encoding())
+ 'illegal bytes.' % (name, get_filesystem_encoding()))
if u.translate(noncharacter_translate) != u:
raise Exception('File/directory name "%s" contains reserved '