mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-24 11:27:12 +00:00
Update same as coffe's script
This commit is contained in:
parent
e031c73e3a
commit
08d947b5c2
@ -10,7 +10,7 @@ import subprocess
|
|||||||
today = datetime.date.today()
|
today = datetime.date.today()
|
||||||
|
|
||||||
# skip weekends
|
# skip weekends
|
||||||
if today.strftime('%A') == 'Saturday' || today('%A') == 'Sunday':
|
if today.strftime('%A') in ('Saturday', 'Sunday'):
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
# exit if no sessions with my username are found
|
# exit if no sessions with my username are found
|
||||||
|
Loading…
x
Reference in New Issue
Block a user