Skip to content

Commit

Permalink
feat: add support for input path from command line or default path
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-ab committed Jul 27, 2023
1 parent bcc97b0 commit f37a701
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/configGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def updateUiConfig(field):


if __name__ == '__main__':
file_path = sys.argv[1]
file_path = sys.argv[1] if len(sys.argv) > 1 else 'oscontrib/inputFile.json'
with open(file_path, 'r') as file:
# Load the JSON data
data = json.load(file)
Expand Down

0 comments on commit f37a701

Please sign in to comment.