Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0115957

Browse files
committed
Fix for an Issue #488
1 parent 1ae68b9 commit 0115957

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ def _cleanupOptions():
14661466
if conf.csvDel:
14671467
conf.csvDel = conf.csvDel.decode("string_escape") # e.g. '\\t' -> '\t'
14681468

1469-
if conf.torPort and conf.torPort.isdigit():
1469+
if conf.torPort and isinstance(conf.torPort, basestring) and conf.torPort.isdigit():
14701470
conf.torPort = int(conf.torPort)
14711471

14721472
if conf.torType:

0 commit comments

Comments
 (0)