Skip to content

Commit

Permalink
♻️
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Jul 7, 2024
1 parent e07f71d commit 02b716f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions findmyorder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
return
self.client_classes = self.get_all_client_classes()
self.clients = []
# Create a client for each client in settings
# Create a client for each client in settings.findmyorder
for name, client_config in settings.findmyorder.items():
if (
# Skip empty client configs
Expand All @@ -65,7 +65,7 @@ def __init__(
continue

# Create the client
logger.debug("Creating FMO parser {}", name)
logger.debug("Creating client {}", name)
client = self._create_client(**client_config, name=name)
# If the client has a valid client attribute, append it to the list
if client and getattr(client, "client", None):
Expand Down

0 comments on commit 02b716f

Please sign in to comment.