fixed hardcoded output location from testing.

master
Domeniko Gentner 4 years ago
parent ce92f432e2
commit ee6a28f17c
  1. 2
      tw2hugo.py

@ -19,7 +19,7 @@ if system().lower() == "windows":
with open('latest_tweet.json', 'w') as fp: with open('latest_tweet.json', 'w') as fp:
json.dump(tweet, fp, indent=4, sort_keys=True) json.dump(tweet, fp, indent=4, sort_keys=True)
if system().lower() == "linux": 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) json.dump(tweet, fp, indent=4, sort_keys=True)
exit(0) exit(0)

Loading…
Cancel
Save