summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-04-21 16:32:53 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-04-21 16:32:53 +0000
commitabc5bcf3894d1ae9219bd6c5f9d223a1d8ba9569 (patch)
tree8e776fc06c24851d77a220b11c2ef148b3bafd09
parentd6eeb13fedfc5b4fca76d73e5887d0db717cc6ad (diff)
downloaddeluge-abc5bcf3894d1ae9219bd6c5f9d223a1d8ba9569.tar.gz
deluge-abc5bcf3894d1ae9219bd6c5f9d223a1d8ba9569.tar.bz2
deluge-abc5bcf3894d1ae9219bd6c5f9d223a1d8ba9569.zip
Fix typo
-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 '