diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2020-04-27 22:41:41 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2020-04-30 15:30:37 +0200 |
commit | 23a48dd01c86ef01cd1d13371de51247ec9a503b (patch) | |
tree | 64dabd9ac6da7f745de5dd9547b993db9de9dbb5 /pyproject.toml | |
parent | [Console] Fix hostlist status lookup errors (diff) | |
download | deluge-23a48dd01c86ef01cd1d13371de51247ec9a503b.tar.xz deluge-23a48dd01c86ef01cd1d13371de51247ec9a503b.zip |
[#3309|GTK] Fix cmp function for None types
Comparisons on Python 3 are much stricter resulting in the following
error comparing with None:
TypeError: '>' not supported between instances of 'NoneType' and 'str'
Fix this by getting the type of the other value and getting it's default
value.
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions