Skip to content

Commit

Permalink
fixing syntax error, os.root is invalid, but os.path is valid (TorchD…
Browse files Browse the repository at this point in the history
  • Loading branch information
MattCarrickPL authored Jul 12, 2023
1 parent 8f781bc commit 6ae0f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_sig53.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def generate(path: str, configs: List[conf.Sig53Config]):
help="Generate impaired dataset. Ignored if --all=True (default)",
)
def main(root: str, all: bool, impaired: bool):
if not os.root.isdir(root):
if not os.path.isdir(root):
os.mkdir(root)

configs = [
Expand Down

0 comments on commit 6ae0f8f

Please sign in to comment.