diff --git a/radiopadre/__init__.py b/radiopadre/__init__.py index e25136c..6ed92b6 100644 --- a/radiopadre/__init__.py +++ b/radiopadre/__init__.py @@ -280,3 +280,5 @@ def copy_current_notebook(oldpath, newpath, cell=0, copy_dirs='dirs', copy_root= from .table import tabulate from .render import render_table, render_preamble, render_refresh_button, render_status_message, rich_string, render_url, render_title +# update settings +settings.finalize_settings() diff --git a/radiopadre/settings_manager.py b/radiopadre/settings_manager.py index e476d69..f9afb00 100644 --- a/radiopadre/settings_manager.py +++ b/radiopadre/settings_manager.py @@ -185,6 +185,7 @@ def __init__(self, name="settings"): html.width = 1920, D("default width of HTML canvas") html.height = 1024, D("default height of HTML canvas") + def finalize_settings(self): # check extra settings env_settings = os.environ.get("RADIOPADRE_SETTINGS") if env_settings: