2
0
mirror of https://github.com/narkoz/hacker-scripts synced 2025-08-23 10:57:13 +00:00

Update same as coffe's script

This commit is contained in:
Thuruv 2015-11-24 10:44:15 +05:30
parent e031c73e3a
commit 08d947b5c2

View File

@ -10,7 +10,7 @@ import subprocess
today = datetime.date.today()
# skip weekends
if today.strftime('%A') == 'Saturday' || today('%A') == 'Sunday':
if today.strftime('%A') in ('Saturday', 'Sunday'):
sys.exit()
# exit if no sessions with my username are found