Thibault Goehringer
commited on
Commit
·
c2a9502
1
Parent(s):
858c282
Fix path ?
Browse files
main.py
CHANGED
@@ -74,7 +74,7 @@ def toast(text):
|
|
74 |
|
75 |
|
76 |
def reply_to_mentions():
|
77 |
-
since_id = get_last_tweet("/app/last_id.txt")
|
78 |
mentions = client.get_users_mentions(
|
79 |
id=1612106815096999936,
|
80 |
since_id=since_id,
|
@@ -118,7 +118,7 @@ def reply_to_mentions():
|
|
118 |
logger.error(e)
|
119 |
continue
|
120 |
|
121 |
-
put_last_tweet("/app/last_id.txt", mention.id)
|
122 |
|
123 |
|
124 |
def main():
|
|
|
74 |
|
75 |
|
76 |
def reply_to_mentions():
|
77 |
+
since_id = get_last_tweet("/home/user/app/last_id.txt")
|
78 |
mentions = client.get_users_mentions(
|
79 |
id=1612106815096999936,
|
80 |
since_id=since_id,
|
|
|
118 |
logger.error(e)
|
119 |
continue
|
120 |
|
121 |
+
put_last_tweet("/home/user/app/last_id.txt", mention.id)
|
122 |
|
123 |
|
124 |
def main():
|