From ee6a28f17ce6c3acfbbcb765890aa23b92bf20c3 Mon Sep 17 00:00:00 2001 From: Domeniko Gentner Date: Sat, 21 Nov 2020 21:09:34 +0100 Subject: [PATCH] fixed hardcoded output location from testing. --- tw2hugo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tw2hugo.py b/tw2hugo.py index 70ec674..19699fb 100755 --- a/tw2hugo.py +++ b/tw2hugo.py @@ -19,7 +19,7 @@ if system().lower() == "windows": with open('latest_tweet.json', 'w') as fp: json.dump(tweet, fp, indent=4, sort_keys=True) if system().lower() == "linux": - with open('/home/git/tuxstash.de/data/latest_tweet.json', 'w') as fp: + with open(twitter.output_location(), 'w') as fp: json.dump(tweet, fp, indent=4, sort_keys=True) exit(0)