Skip to content

Commit d70400c

Browse files
authored
Merge pull request #3 from stereu/main
Added functionality to upload device images
2 parents b03e07c + f11f7a7 commit d70400c

File tree

3 files changed

+453
-3
lines changed

3 files changed

+453
-3
lines changed

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ def main():
6060
"netbox_manufacturer.py",
6161
"netbox_rack.py",
6262
"netbox_device.py",
63-
"netbox_module.py"
63+
"netbox_module.py",
64+
"netbox_images.py"
6465
]
6566

6667
for script in scripts:

master_cleanup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def collect_targets(root: Path) -> Tuple[List[Path], List[Path]]:
6868
if (
6969
directory.startswith(".")
7070
or lower_dir in ("tests", "scripts", "schema")
71-
or lower_dir.endswith("-images")
7271
):
7372
dirs_to_remove.append(current / directory)
7473
# do not descend into this directory
@@ -175,4 +174,4 @@ def main() -> int:
175174

176175

177176
if __name__ == "__main__":
178-
raise SystemExit(main())
177+
raise SystemExit(main())

0 commit comments

Comments
 (0)