diff --git a/.gitignore b/.gitignore index 37d6385..6623d1f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ log/ geckodriver.log *.pyc .idea/ -bin/executed \ No newline at end of file +bin/executed.txt \ No newline at end of file diff --git a/bin/executed b/bin/executed.txt similarity index 100% rename from bin/executed rename to bin/executed.txt diff --git a/bin/unzip_gecko.py b/bin/unzip_gecko.py index d0caaf1..7d3da63 100644 --- a/bin/unzip_gecko.py +++ b/bin/unzip_gecko.py @@ -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 """