Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Sep 5, 2023
1 parent 0f7e769 commit a82e960
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libvirtnbdbackup/output/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(self) -> None:

def create(self, targetDir) -> None:
"""Create wrapper"""
log.debug("Create: %s", targetDir)
if os.path.exists(targetDir):
if not os.path.isdir(targetDir):
raise exceptions.OutputCreateDirectory(
Expand Down Expand Up @@ -133,7 +134,7 @@ def __init__(self):

def create(self, targetDir) -> None:
"""Create wrapper"""
return
log.debug("Create: %s", targetDir)

def open(self, fileName: str, mode: Literal["w"] = "w") -> IO[bytes]:
"""Open wrapper"""
Expand Down

0 comments on commit a82e960

Please sign in to comment.