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.
This commit is contained in:
Calum Lind 2012-04-08 17:59:31 +01:00
parent fe6e9ec467
commit 5572f61022

View file

@ -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,