Update hackingtool.py

This commit is contained in:
Christian Clauss 2023-07-18 11:43:11 +02:00 committed by GitHub
parent 8dff887a4b
commit 946151b211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,8 @@ if __name__ == "__main__":
try:
if system() == 'Linux':
# Testing platforms like GitHub Actions define a $CI environment variable
fpath = "/tmp/hackingtoolpath.txt" if os.getenv("CI") else "/home/hackingtoolpath.txt"
print(f'{os.getenv("CI") = }')
fpath = "/tmp/hackingtoolpath.txt" # if os.getenv("CI") else "/home/hackingtoolpath.txt"
if not os.path.exists(fpath):
os.system('clear')
# run.menu()