Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ae68b9 commit 0115957Copy full SHA for 0115957
1 file changed
lib/core/option.py
@@ -1466,7 +1466,7 @@ def _cleanupOptions():
1466
if conf.csvDel:
1467
conf.csvDel = conf.csvDel.decode("string_escape") # e.g. '\\t' -> '\t'
1468
1469
- if conf.torPort and conf.torPort.isdigit():
+ if conf.torPort and isinstance(conf.torPort, basestring) and conf.torPort.isdigit():
1470
conf.torPort = int(conf.torPort)
1471
1472
if conf.torType:
0 commit comments