Changeset e24e59
- Timestamp:
- 09/03/2014 04:22:39 PM (10 years ago)
- Branches:
- 2.0.x, develop, master
- Children:
- fc7a13
- Parents:
- 4afd251
- git-author:
- Calum Lind <calumlind+deluge@gmail.com> (09/03/2014 03:41:09 PM)
- git-committer:
- Calum Lind <calumlind+deluge@gmail.com> (09/03/2014 04:22:39 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/console/modes/torrentdetail.py
r4afd251 re24e59 245 245 if f[3]: # dir, so fill in children and compute our prio 246 246 self.__fill_prio(f[3]) 247 s = set([e[6] for e in f[3]]) # pull out all child prios and turn into a set248 if len( s) > 1:247 child_prios = [e[6] for e in f[3]] 248 if len(child_prios) > 1: 249 249 f[6] = -2 # mixed 250 250 else: 251 f[6] = s.pop()251 f[6] = child_prios.pop(0) 252 252 253 253 def __update_columns(self):
Note:
See TracChangeset
for help on using the changeset viewer.