From 1e99eabb350b488e4474c7dbb1a953b1f383eed7 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 2 Sep 2023 17:30:28 +0800 Subject: fixed .syspower not working(not created) --- main.py | 1 + test.txt | 1 + 2 files changed, 2 insertions(+) create mode 100644 test.txt diff --git a/main.py b/main.py index 047cfca..5b13106 100644 --- a/main.py +++ b/main.py @@ -243,6 +243,7 @@ while True: except KeyboardInterrupt: continue continue + open(f"{expanduser('~')/.syspower}", 'w').close() except: continue diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..3a8c544 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +asdfdasfhib -- cgit v1.2.3