@@ -56,18 +56,18 @@ def _new_init_log():
5656# Suppress astroquery log messages globally (moved to __init__.py for earlier execution)
5757# Monkey patch for astroquery.logger._init_log (moved to __init__.py for earlier execution)
5858
59- from astroquery_cli import config # Import config first
59+ from src import config # Import config first
6060
6161# Load configuration from ~/.aqc/config.ini
6262config .load_config ()
6363
6464# Force early translation initialization (will be re-initialized in callback)
65- from astroquery_cli import i18n
65+ from src import i18n
6666
6767i18n .init_translation (i18n .INITIAL_LANG )
6868builtins ._ = i18n ._
6969
70- from astroquery_cli .debug import debug_manager
70+ from src .debug import debug_manager
7171
7272
7373def save_default_lang (lang ):
@@ -241,7 +241,7 @@ def main_callback(
241241 "Debug Mode" : debug ,
242242 "Verbose Mode" : verbose or debug ,
243243 "Selected Language" : selected_lang ,
244- "Config Path" : config .CONFIG_FILE_PATH , # Use the correct config path from astroquery_cli .config
244+ "Config Path" : config .CONFIG_FILE_PATH , # Use the correct config path from src .config
245245 "Config File Exists" : os .path .exists (config .CONFIG_FILE_PATH ),
246246 "Config Content" : config_lang if config_lang else "None" ,
247247 }
@@ -307,12 +307,12 @@ def custom_gettext(message):
307307 )
308308
309309 if ping :
310- from astroquery_cli .options .ping import run_ping
310+ from src .options .ping import run_ping
311311
312312 run_ping ()
313313 raise typer .Exit ()
314314 if field :
315- from astroquery_cli .options .field import run_field
315+ from src .options .field import run_field
316316
317317 run_field ()
318318 raise typer .Exit ()
0 commit comments