fixing pathing

This commit is contained in:
Gaël
2024-07-03 18:46:00 +02:00
parent 668843d8e8
commit c78078ce35

View File

@@ -241,11 +241,11 @@ async def main(login, password, account):
ff = r'/data/feeds.txt'
if os.path.isfile(ff) is False:
ff = r'feeds.txt'
ff = r'x:\substack\feeds.txt'
cookies_path = r'/data/cookies.json'
if os.path.isfile(cookies_path) is False:
cookies_path = r'cookies.json'
cookies_path = r'x:\substack\cookies.json'
with open(ff) as file:
lines = [line.rstrip() for line in file]