We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e031c73 commit 08d947bCopy full SHA for 08d947b
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