We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52a108 commit 6aff523Copy full SHA for 6aff523
struct_module/commands/generate.py
@@ -51,7 +51,8 @@ def _create_structure(self, args):
51
if args.structures_path:
52
file_path = os.path.join(args.structures_path, f"{args.structure_definition}.yaml")
53
54
- if not os.path.exists(file_path) and args.structures_path:
+ if not os.path.exists(file_path):
55
+ # fallback to contribs path
56
file_path = os.path.join(contribs_path, f"{args.structure_definition}.yaml")
57
58
if not os.path.exists(file_path):
0 commit comments