Changeset b9ff47e


Ignore:
Timestamp:
02/05/2011 01:12:48 AM (14 years ago)
Author:
Calum Lind <calumlind+deluge@gmail.com>
Branches:
2.0.x, develop, extjs4-port, master
Children:
cea6c8
Parents:
14746b
git-author:
Calum Lind <calumlind+deluge@gmail.com> (01/29/2011 07:07:46 AM)
git-committer:
Calum Lind <calumlind+deluge@gmail.com> (02/05/2011 01:12:48 AM)
Message:

Fix #755 - Can't set listen_ports through console UI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • deluge/ui/console/commands/config.py

    r14746b rb9ff47e  
    6363    elif token[0] is tokenize.NUMBER or token[1] == "-":
    6464        try:
    65             return int(token[-1], 0)
     65            if token[1] == "-":
     66                return int(token[-1], 0)
     67            else:
     68                return int(token[1], 0)
    6669        except ValueError:
    6770            return float(token[-1])
Note: See TracChangeset for help on using the changeset viewer.