Ticket #1954: deluge-fix1954.diff
File deluge-fix1954.diff, 655 bytes (added by , 13 years ago) |
---|
-
deluge/ui/console/commands/config.py
diff -ru ../deluge-1.3.3.orig/deluge/ui/console/commands/config.py ./deluge/ui/console/commands/config.py
old new 65 65 else: 66 66 return int(token[1], 0) 67 67 except ValueError: 68 return float(token[-1]) 68 try: 69 return float(token[-1]) 70 except ValueError: 71 return str(token[-1]) 69 72 elif token[1].lower() == 'true': 70 73 return True 71 74 elif token[1].lower() == 'false':