fixing pathing
This commit is contained in:
@@ -241,11 +241,11 @@ async def main(login, password, account):
|
|||||||
|
|
||||||
ff = r'/data/feeds.txt'
|
ff = r'/data/feeds.txt'
|
||||||
if os.path.isfile(ff) is False:
|
if os.path.isfile(ff) is False:
|
||||||
ff = r'feeds.txt'
|
ff = r'x:\substack\feeds.txt'
|
||||||
|
|
||||||
cookies_path = r'/data/cookies.json'
|
cookies_path = r'/data/cookies.json'
|
||||||
if os.path.isfile(cookies_path) is False:
|
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:
|
with open(ff) as file:
|
||||||
lines = [line.rstrip() for line in file]
|
lines = [line.rstrip() for line in file]
|
||||||
|
|||||||
Reference in New Issue
Block a user