diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2020-04-27 21:41:41 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2020-04-30 14:30:37 +0100 |
commit | 23a48dd01c86ef01cd1d13371de51247ec9a503b (patch) | |
tree | 64dabd9ac6da7f745de5dd9547b993db9de9dbb5 /deluge/ui/web/js/deluge-all/AddTrackerWindow.js | |
parent | d02fa72e8013b31c17d8adc6d44f6cb259169f8e (diff) | |
download | deluge-23a48dd01c86ef01cd1d13371de51247ec9a503b.tar.gz deluge-23a48dd01c86ef01cd1d13371de51247ec9a503b.tar.bz2 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 'deluge/ui/web/js/deluge-all/AddTrackerWindow.js')
0 files changed, 0 insertions, 0 deletions