fixed untracked files issue #2

This commit is contained in:
ekultek 2017-09-09 15:28:59 -05:00
parent 83f639f70d
commit a4cb2646c1
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View file

@ -2,4 +2,4 @@ log/
geckodriver.log
*.pyc
.idea/
bin/executed
bin/executed.txt

View file

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