We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e031c73 + 08d947b commit 58cbc7bCopy full SHA for 58cbc7b
python/hangover.py
@@ -10,7 +10,7 @@
10
today = datetime.date.today()
11
12
# skip weekends
13
-if today.strftime('%A') == 'Saturday' || today('%A') == 'Sunday':
+if today.strftime('%A') in ('Saturday', 'Sunday'):
14
sys.exit()
15
16
# exit if no sessions with my username are found
0 commit comments