This commit is contained in:
Mizaki 2023-03-05 18:58:06 +00:00
parent 271bfac834
commit 4218e3558b

View File

@ -132,7 +132,7 @@ class ComicTalker:
"""
if settings.get(f"{self.id}_key"):
self.api_key = settings[f"{self.id}_key"]
if settings[f"{self.id}_url"]:
if settings.get(f"{self.id}_url"):
self.api_url = fix_url(settings[f"{self.id}_url"])
settings[f"{self.id}_url"] = self.api_url