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 '