Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Jul 16, 2024
1 parent 384be3b commit 958a936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gallia/command/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def _add_latest_link(self, path: Path) -> None:
symlink.unlink(missing_ok=True)
try:
symlink.symlink_to(latest_dir)
except NotImplementedError as e:
except (OSError, NotADirectoryError) as e:
logger.warn(f"symlink error: {e}")

def prepare_artifactsdir(
Expand Down
2 changes: 1 addition & 1 deletion src/gallia/transports/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ async def read_unsafe(
)
await self.write_tp_frame(fc_frame)
data = frame.data + await self._handle_fragmented(frame.size)
data = data[:frame.size+1]
data = data[: frame.size + 1]
logger.debug("read data: %s", data.hex())
return data
case _:
Expand Down

0 comments on commit 958a936

Please sign in to comment.