Fix for an Issue #488

This commit is contained in:
stamparm 2013-07-11 10:11:43 +02:00
parent 1ae68b9bb3
commit 01159575b2

View File

@ -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: