Skip to content

Commit

Permalink
Fix for an Issue #488
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Jul 11, 2013
1 parent 1ae68b9 commit 0115957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/option.py
Expand Up @@ -1466,7 +1466,7 @@ def _cleanupOptions():
if conf.csvDel:
conf.csvDel = conf.csvDel.decode("string_escape") # e.g. '\\t' -> '\t'

if conf.torPort and conf.torPort.isdigit():
if conf.torPort and isinstance(conf.torPort, basestring) and conf.torPort.isdigit():
conf.torPort = int(conf.torPort)

if conf.torType:
Expand Down

0 comments on commit 0115957

Please sign in to comment.