fix undefined variable

pull/142/head
Aevann 2023-03-18 07:41:22 +02:00
parent 03146bc026
commit 335c572aaf
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ from .config.const import *
def remove_media_using_link(path):
if path.startswith(SITE_FULL_IMAGES):
path = path.split(img_prefix, 1)[1]
path = path.split(SITE_FULL_IMAGES, 1)[1]
video_prefix = f'https://videos.{SITE}'
if path.startswith(video_prefix):