Merge pull request #25 from Thuruv/Thuruv-patch-1
Update same as coffe's script
This commit is contained in:
commit
58cbc7b42a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue