Minor code cleanup
This commit is contained in:
parent
6980581c13
commit
8de4584132
@ -144,9 +144,8 @@ class YandereBot:
|
||||
backend_s = picked_profile["backend"]
|
||||
backend_credentials = self.settings_backend[backend_s]
|
||||
backend = importlib.import_module(backend_credentials["module"])
|
||||
img = None
|
||||
|
||||
downloader = backend.downloader(backend_credentials)
|
||||
|
||||
img = downloader.fetch_post(picked_profile)
|
||||
|
||||
if img is None:
|
||||
|
Reference in New Issue
Block a user