mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fix improper dos line endings
This commit is contained in:
parent
2457fd0aea
commit
d110b23a9f
3 changed files with 42 additions and 42 deletions
|
@ -240,7 +240,7 @@ class Screen(CursesStdIO):
|
|||
# This is the last string so lets append some " " to it
|
||||
s += " " * (self.cols - (col + len(s)) - 1)
|
||||
if isinstance(s, unicode):
|
||||
#Have to use replace as character counting has already been done
|
||||
#Have to use replace as character counting has already been done\
|
||||
s = s.encode(self.encoding, 'replace')
|
||||
self.stdscr.addstr(row, col, s, color)
|
||||
col += len(s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue