Skip to content

Commit 58cbc7b

Browse files
committed
Merge pull request NARKOZ#25 from Thuruv/Thuruv-patch-1
Update same as coffe's script
2 parents e031c73 + 08d947b commit 58cbc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/hangover.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
today = datetime.date.today()
1111

1212
# skip weekends
13-
if today.strftime('%A') == 'Saturday' || today('%A') == 'Sunday':
13+
if today.strftime('%A') in ('Saturday', 'Sunday'):
1414
sys.exit()
1515

1616
# exit if no sessions with my username are found

0 commit comments

Comments
 (0)