From b4c5159325ea3d446fd516d1b3d8ea164577c61e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 3 Apr 2022 14:57:46 +0200 Subject: [PATCH] sfd --- files/routes/comments.py | 4 ++-- files/templates/header.html | 4 ++-- readme.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index ab401054e..fca2cc015 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -232,11 +232,11 @@ def api_comment(v): if image == "": return {"error":"Image upload failed"} if v.admin_level > 2 and level == 1: if parent_post.id == 37696: - filename = 'files/assets/images/Drama/sidebar/' + str(len(listdir('files/assets/images/Drama/sidebar'))+1) + '.webp' + filename = 'files/assets/images/rDrama/sidebar/' + str(len(listdir('files/assets/images/rDrama/sidebar'))+1) + '.webp' copyfile(oldname, filename) process_image(filename, 400) elif parent_post.id == 37697: - filename = 'files/assets/images/Drama/banners/' + str(len(listdir('files/assets/images/Drama/banners'))+1) + '.webp' + filename = 'files/assets/images/rDrama/banners/' + str(len(listdir('files/assets/images/rDrama/banners'))+1) + '.webp' copyfile(oldname, filename) process_image(filename) elif parent_post.id == 37833: diff --git a/files/templates/header.html b/files/templates/header.html index 90bb4244c..3c28c5645 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -160,7 +160,7 @@ Changelog - Source code + Source code {% if SITE_NAME in ['rDrama', 'PCM'] %} Bugs/Suggestions @@ -224,7 +224,7 @@ Android app {% endif %} - Source code + Source code {% if request.host != 'pcmemes.net' %} Discord diff --git a/readme.md b/readme.md index 07581a808..cb371ba88 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ This code runs https://rdrama.net and https://pcmemes.net 2- Run the following commands in the terminal: ``` -git clone https://github.com/Aevann1/Drama/ +git clone https://github.com/Aevann1/rDrama/ cd Drama