mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
scheduler - fix typo in fstring
This commit is contained in:
parent
e93b2f65ff
commit
26f2852e54
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class JobScheduler(ApiCaller):
|
|||
with self.__thread_lock:
|
||||
instances = self.__db.get_instances()
|
||||
for instance in instances:
|
||||
api = API(f"http://{instance["hostname"]}:{instance["port"]}", host=instance["server_name"])
|
||||
api = API(f"http://{instance['hostname']}:{instance['port']}", host=instance["server_name"])
|
||||
apis.append(api)
|
||||
except:
|
||||
self.__logger.warning(
|
||||
|
|
|
|||
Loading…
Reference in a new issue