Skip to content

Commit

Permalink
os.path.expanduser("~/hackingtoolpath.txt")
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jul 18, 2023
1 parent 946151b commit 4e2e769
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hackingtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ def show_info(self):
if __name__ == "__main__":
try:
if system() == 'Linux':
# Testing platforms like GitHub Actions define a $CI environment variable
print(f'{os.getenv("CI") = }')
fpath = "/tmp/hackingtoolpath.txt" # if os.getenv("CI") else "/home/hackingtoolpath.txt"
os.path.expanduser("~/hackingtoolpath.txt")
if not os.path.exists(fpath):
os.system('clear')
# run.menu()
Expand Down

0 comments on commit 4e2e769

Please sign in to comment.