diff --git a/nginx-create-pages.py b/nginx-create-pages.py index b05de00..b289631 100644 --- a/nginx-create-pages.py +++ b/nginx-create-pages.py @@ -5,7 +5,7 @@ import json # Replace with a known-404 page for whatever you want. Doing this so the nginx version is accurate. url_404 = 'https://askiiart.net/sdlfjsadljfs' html_404 = str(requests.get(url_404).text) -boykisser_url = 'https://askiiart.net/assets/boykisser.png' +boykisser_url = '/boykisser.png' gandalf_url = '/you.gif' try: diff --git a/tsv-to-json.py b/tsv-to-json.py deleted file mode 100644 index b65a435..0000000 --- a/tsv-to-json.py +++ /dev/null @@ -1,12 +0,0 @@ -import csv -import json - -data = {} - -with open('status-codes.tsv', 'r') as tsvfile: - reader = csv.reader(tsvfile, delimiter=';') - for row in reader: - data[row[0]] = row[1] - -with open('status-codes.json', 'w') as jsonfile: - json.dump(data, jsonfile, indent=4) \ No newline at end of file