mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix typo
This commit is contained in:
parent
0e10f608b9
commit
4fde1b4a2f
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def makeinfo(path, piece_length, progress, name = None,
|
||||||
raise Exception('Could not convert file/directory name %r to '
|
raise Exception('Could not convert file/directory name %r to '
|
||||||
'Unicode. Either the assumed filesystem '
|
'Unicode. Either the assumed filesystem '
|
||||||
'encoding "%s" is wrong or the filename contains '
|
'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:
|
if u.translate(noncharacter_translate) != u:
|
||||||
raise Exception('File/directory name "%s" contains reserved '
|
raise Exception('File/directory name "%s" contains reserved '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue