2
0
mirror of https://github.com/narkoz/hacker-scripts synced 2025-08-26 12:27:13 +00:00

Merge pull request #25 from Thuruv/Thuruv-patch-1

Update same as coffe's script
This commit is contained in:
Nihad Abbasov 2015-11-24 12:39:00 +04:00
commit 58cbc7b42a

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