diff options
author | Chase Sterling <chase.sterling@gmail.com> | 2022-02-03 16:47:23 -0500 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-02-03 22:38:37 +0000 |
commit | 222aeed2f3bfc058739835afb4007955a92dde05 (patch) | |
tree | a72dad05338e1e41458579f71ee64e3db99e8da6 /deluge/log.py | |
parent | ece31cf3cfb2ae277194f82bf35b45ea848f69c4 (diff) | |
download | deluge-222aeed2f3bfc058739835afb4007955a92dde05.tar.gz deluge-222aeed2f3bfc058739835afb4007955a92dde05.tar.bz2 deluge-222aeed2f3bfc058739835afb4007955a92dde05.zip |
Remove legacy PY2 sys.argv unicode handling
Fixed crash when sys.stdout was None
When using pythonw on windows, sys.stdout and stdin are None. We had a
legacy unicode_argv handler that was crashing in this instance. Just
removed that, since sys.argv is always unicode on python 3 to fix the
crash.
Closes: https://github.com/deluge-torrent/deluge/pull/361
Diffstat (limited to 'deluge/log.py')
0 files changed, 0 insertions, 0 deletions