mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
fixed untracked files issue #2
This commit is contained in:
parent
83f639f70d
commit
a4cb2646c1
3 changed files with 4 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,4 +2,4 @@ log/
|
|||
geckodriver.log
|
||||
*.pyc
|
||||
.idea/
|
||||
bin/executed
|
||||
bin/executed.txt
|
||||
|
|
@ -7,9 +7,9 @@ import whichcraft
|
|||
import lib.settings
|
||||
|
||||
|
||||
def check_if_run(file_check="{}/bin/executed"):
|
||||
def check_if_run(file_check="{}/bin/executed.txt"):
|
||||
"""
|
||||
check if the application has been run before by reading the executed file
|
||||
check if the application has been run before by reading the executed.txt file
|
||||
"""
|
||||
with open(file_check.format(os.getcwd())) as exc:
|
||||
if "FALSE" in exc.read():
|
||||
|
|
@ -71,7 +71,7 @@ def ensure_placed(item="geckodriver", verbose=False):
|
|||
return True
|
||||
|
||||
|
||||
def main(rewrite="{}/bin/executed", verbose=False):
|
||||
def main(rewrite="{}/bin/executed.txt", verbose=False):
|
||||
"""
|
||||
main method
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue