fixed bug in combination with the program.json.
This commit is contained in:
parent
ca59cebd5f
commit
0b6443aa36
5
main.py
5
main.py
|
@ -5,8 +5,8 @@ import scripts.get_sys_info as system_code
|
|||
from scripts.ClosePopup import ClosePopup
|
||||
|
||||
from scripts.settings import Settings
|
||||
from scripts.converter import Converter
|
||||
from scripts.labeling import Labeling
|
||||
from scripts.Converter import Converter
|
||||
from scripts.Labeling import Labeling
|
||||
|
||||
from scripts.folder_mangement.OpenFolder import OpenFolder
|
||||
from scripts.folder_mangement.CreateFolder import CreateFolder
|
||||
|
@ -257,6 +257,7 @@ class App(Ctk.CTk):
|
|||
relwidth=0.6,
|
||||
relheight=0.095
|
||||
)
|
||||
if __name__ == '__main__':
|
||||
|
||||
app = App()
|
||||
app.mainloop()
|
|
@ -42,7 +42,7 @@ def load_json_file():
|
|||
}
|
||||
with open(json_file_path, 'w') as f:
|
||||
json.dump(data, f, indent=2)
|
||||
else:
|
||||
|
||||
# Load the file
|
||||
with open(json_file_path, 'r') as f:
|
||||
data = json.load(f)
|
||||
|
|
Loading…
Reference in New Issue