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 8fdfdc2b25
commit 828b3204b8

View File

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