Update twitfix.py

This commit is contained in:
Chloe 2022-05-18 21:53:30 +01:00 committed by GitHub
parent 7cb74a115e
commit 925d1c277c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -822,10 +822,10 @@ def embed(video_link, vnf, image, raw=False):
)
template = "video.html"
color = "#7FFFD4" # Green
color = config['config']['color']
if vnf["nsfw"] == True:
color = "#800020" # Red
color = config['config']['color']
return render_template(
template,