From 2d96e37da6f07a57fc2688f8b6a1b9bcb6949a4e Mon Sep 17 00:00:00 2001 From: ThaaoBlues Date: Thu, 23 Jun 2022 14:14:07 +0200 Subject: [PATCH] now templates are downloaded from prod repository --- util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util.py b/util.py index b827d79..2c11a23 100644 --- a/util.py +++ b/util.py @@ -111,19 +111,19 @@ def is_server_already_running(): def download_templates(): #get the templates - r = get(f"https://raw.githubusercontent.com/thaaoblues/copypasta/master/templates/index.html",allow_redirects=True) + r = get(f"https://raw.githubusercontent.com/copypastaofficial/copypasta/master/templates/index.html",allow_redirects=True) with open("templates/index.html","wb") as f: f.write(r.content) - r = get(f"https://raw.githubusercontent.com/thaaoblues/copypasta/master/templates/scan_preview.html",allow_redirects=True) + r = get(f"https://raw.githubusercontent.com/copypastaofficial/copypasta/master/templates/scan_preview.html",allow_redirects=True) with open("templates/scan_preview.html","wb") as f: f.write(r.content) - r = get(f"https://raw.githubusercontent.com/thaaoblues/copypasta/master/templates/img_preview.html",allow_redirects=True) + r = get(f"https://raw.githubusercontent.com/copypastaofficial/copypasta/master/templates/img_preview.html",allow_redirects=True) with open("templates/img_preview.html","wb") as f: f.write(r.content) - r = get(f"https://raw.githubusercontent.com/thaaoblues/copypasta/master/templates/favicon.ico",allow_redirects=True) + r = get(f"https://raw.githubusercontent.com/copypastaofficial/copypasta/master/templates/favicon.ico",allow_redirects=True) with open("static/favicon.ico","wb") as f: f.write(r.content)