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__/
|
__pycache__/
|
||||||
src/seedsigner.egg-info/
|
src/seedsigner.egg-info/
|
||||||
.nova
|
.nova
|
||||||
.vscode
|
.vscode
|
||||||
|
src/seedsigner/models/settings_definition.json
|
||||||
|
|||||||
@@ -471,10 +471,6 @@ if __name__ == "__main__":
|
|||||||
import os
|
import os
|
||||||
print("Exporting SettingsDefinition to json")
|
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"
|
output_file = "settings_definition.json"
|
||||||
with open(output_file, 'w') as json_file:
|
with open(output_file, 'w') as json_file:
|
||||||
json.dump(SettingsDefinition.to_dict(), json_file, indent=4)
|
json.dump(SettingsDefinition.to_dict(), json_file, indent=4)
|
||||||
|
|||||||
Reference in New Issue
Block a user