| author | Calum Lind <calumlind+deluge@gmail.com> | 2012-04-08 16:59:31 (GMT) |
|---|---|---|
| committer | Calum Lind <calumlind+deluge@gmail.com> | 2012-04-08 22:35:34 (GMT) |
| commit | 5572f610221dea54c5b80860f501fdd2e34b17ba (patch) (side-by-side diff) | |
| tree | 40a56452a2b7ca22d62459e6da38f1c64af47f14 | |
| parent | fe6e9ec4675f0c8bdba380745714650b22780ee9 (diff) | |
| download | deluge-5572f6102.zip deluge-5572f6102.tar.gz deluge-5572f6102.tar.bz2 | |
Fix #2071 : KeyError in gtkui when file priority set to value '3'
Bug results from setting file priority value in core which does not
exist in the FILE_PRIORITY dict used by UIs.
| -rw-r--r-- | deluge/common.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deluge/common.py b/deluge/common.py index 0ae8d57..4881d16 100644 --- a/deluge/common.py +++ b/deluge/common.py @@ -117,7 +117,10 @@ FILE_PRIORITY = { 0: "Do Not Download", 1: "Normal Priority", 2: "High Priority", + 3: "High Priority", + 4: "High Priority", 5: "High Priority", + 6: "High Priority", 7: "Highest Priority", "Do Not Download": 0, "Normal Priority": 1, |
