mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
settings cleanup
This commit is contained in:
+2
-1
@@ -2,4 +2,5 @@
|
||||
__pycache__/
|
||||
src/seedsigner.egg-info/
|
||||
.nova
|
||||
.vscode
|
||||
.vscode
|
||||
src/seedsigner/models/settings_definition.json
|
||||
|
||||
@@ -471,10 +471,6 @@ if __name__ == "__main__":
|
||||
import os
|
||||
print("Exporting SettingsDefinition to json")
|
||||
|
||||
# output_dir = os.path.join("seedsigner", "resources")
|
||||
# if not os.path.isdir(output_dir):
|
||||
# raise Exception("Must run from the src/ directory!)")
|
||||
|
||||
output_file = "settings_definition.json"
|
||||
with open(output_file, 'w') as json_file:
|
||||
json.dump(SettingsDefinition.to_dict(), json_file, indent=4)
|
||||
|
||||
Reference in New Issue
Block a user