fixed paths
This commit is contained in:
parent
4b40e36eca
commit
efb10f53e6
@ -10,7 +10,7 @@ path = 'https://api.telegram.org/bot%s/sendMessage' % api_token
|
||||
kaktus = 'https://www.mujkaktus.cz/novinky'
|
||||
|
||||
def last_text(text):
|
||||
with open('/home/saitama/kaktusbot/last.txt', 'r+', encoding='utf-8') as f:
|
||||
with open('/home/saitama/kaktus_bot/last.txt', 'r+', encoding='utf-8') as f:
|
||||
if f.read() == text:
|
||||
return True
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user