Answer the question
In order to leave comments, you need to log in
SyntaxWarning: "is" with a literal. Did you mean "=="?
After rearranging the system (Win10), I began to install the necessary tools, but ran into an error:
C:\tool\dirsearch>dirsearch.py -u http://www.yandex.ru/ -e rar,exe -w C:\Users\0000000\Desktop\list.txt -t 10000 -x503,403
C:\tool\dirsearch\lib\controller\Controller.py:317: SyntaxWarning: "is" with a literal. Did you mean "=="?
basePath = "/" if requester.basePath is "" else requester.basePath
C:\tool\dirsearch\lib\reports\PlainTextReport.py:33: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.basePath is ""
C:\tool\dirsearch\lib\reports\SimpleReport.py:31: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.basePath is ""
_|. _ _ _ _ _ _|_ v0.3.9
(_||| _) (/_(_|| (_| )
Traceback (most recent call last):
File "C:\tool\dirsearch\dirsearch.py", line 40, in <module>
main = Program()
File "C:\tool\dirsearch\dirsearch.py", line 36, in __init__
self.controller = Controller(self.script_path, self.arguments, self.output)
File "C:\tool\dirsearch\lib\controller\Controller.py", line 125, in __init__
self.printConfig()
File "C:\tool\dirsearch\lib\controller\Controller.py", line 233, in printConfig
self.output.config(
TypeError: config() takes 8 positional arguments but 9 were given
C:\tool\dirsearch>
Answer the question
In order to leave comments, you need to log in
everyone is like that.
https://github.com/maurosoria/dirsearch/issues/240
Waiting for a fix
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question