Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii committed May 20, 2024
1 parent c7687b8 commit c8d3be3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion omada_respondd/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class Config:

ssl_verify: bool = True


@classmethod
def from_dict(cls, cfg: Dict[str, str]) -> "Config":
"""Creates a Config object from a configuration file.
Expand Down
4 changes: 3 additions & 1 deletion omada_respondd/omada_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ def get_infos():
if snmp.get("location", None) is not None:
if snmp.get("location", None) != "":
try:
lat, lon = get_location_by_address(snmp["location"], geolookup)
lat, lon = get_location_by_address(
snmp["location"], geolookup
)
except:
pass

Expand Down

0 comments on commit c8d3be3

Please sign in to comment.