mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-26 20:37:09 +00:00
Merge pull request #25 from Thuruv/Thuruv-patch-1
Update same as coffe's script
This commit is contained in:
commit
58cbc7b42a
@ -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