Module: deluge
Branch: master
Commit: 71f9ef64996d9afbc615011ed2cb84483915e435

Author: Andrew Resch <[email protected]>
Date:   Tue Jun 21 10:50:57 2011 -0700

Adjust file priorities to make Highest actually the highest allowed by 
libtorrent and High has been changed to what Highest was

---

 deluge/common.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/deluge/common.py b/deluge/common.py
index fa92226..5d3cd36 100644
--- a/deluge/common.py
+++ b/deluge/common.py
@@ -104,12 +104,12 @@ TORRENT_STATE = [
 FILE_PRIORITY = {
     0: "Do Not Download",
     1: "Normal Priority",
-    2: "High Priority",
-    5: "Highest Priority",
+    5: "High Priority",
+    7: "Highest Priority",
     "Do Not Download": 0,
     "Normal Priority": 1,
-    "High Priority": 2,
-    "Highest Priority": 5
+    "High Priority": 5,
+    "Highest Priority": 7
 }
 
 def get_version():

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to