diff --git a/editor.py b/editor.py index 0a59801..4e9eeaa 100644 --- a/editor.py +++ b/editor.py @@ -15,7 +15,7 @@ import os import json from typing import Dict, List, Optional -from .core import ( +from core import ( list_profiles, load_profile, load_settings, save_settings, scan_excel, extract_data, ) @@ -345,7 +345,7 @@ class ImportMapperWindow: messagebox.showerror("Ошибка", data['error']) return - from .core import EXPORT_DIR + from core import EXPORT_DIR os.makedirs(EXPORT_DIR, exist_ok=True) out_path = os.path.join(EXPORT_DIR, f"export_{self.profile['id']}.json") with open(out_path, 'w', encoding='utf-8') as f: