From 4218e3558bb7577d72ebd37e0ac36ec6d4e55e84 Mon Sep 17 00:00:00 2001 From: Mizaki Date: Sun, 5 Mar 2023 18:58:06 +0000 Subject: [PATCH] Add url --- comictalker/comictalker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comictalker/comictalker.py b/comictalker/comictalker.py index 74e8b74..0806007 100644 --- a/comictalker/comictalker.py +++ b/comictalker/comictalker.py @@ -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