We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056e9ec commit c6373ccCopy full SHA for c6373cc
python/hangover.py
@@ -13,9 +13,9 @@
13
if today.strftime('%A') in ('Saturday', 'Sunday'):
14
sys.exit()
15
16
-# exit if no sessions with my username are found
+# exit if sessions with my username are found
17
output = subprocess.check_output('who')
18
-if 'my_username' not in output:
+if 'my_username' in output:
19
20
21
# returns 'None' if the key doesn't exist
@@ -37,7 +37,7 @@
37
38
client.messages.create(
39
to=number_of_boss,
40
- from=my_number,
+ from_=my_number,
41
body="Gonna work from home. " + random.choice(excuses)
42
)
43
0 commit comments