Skip to content

Commit

Permalink
Restyled by autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and aBozowski committed Nov 14, 2023
1 parent bdfb2b0 commit 1160088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/interop/idt/discovery/dnssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, artifact_dir: str) -> None:
self.logger = logger
self.discovered_matter_devices: [str, ServiceInfo] = {}

def write_log(self, line: str, log_name:str) -> None:
def write_log(self, line: str, log_name: str) -> None:
with open(self.create_device_log_name(log_name), "a+") as log_file:
log_file.write(line)

Expand Down
1 change: 1 addition & 0 deletions src/tools/interop/idt/utils/host_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

logger = log.get_logger(__file__)


def is_mac():
p = host_platform.platform().lower()
return "darwin" in p or "mac" in p
Expand Down

0 comments on commit 1160088

Please sign in to comment.