| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2240883 commit 81eb0a5
7 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ | |||
| 38 | 38 | from pathlib import Path | |
| 39 | 39 | ||
| 40 | 40 | from . import __version__, __copyright__ | |
| 41 | - from .config import default_config_path, loadini, Struct | ||
| 41 | + from .config import default_config_path, Config | ||
| 42 | 42 | from .translations import _ | |
| 43 | 43 | ||
| 44 | 44 | logger = logging.getLogger(__name__) | |
@@ -210,10 +210,7 @@ def callback(group): | |||
| 210 | 210 | ) | |
| 211 | 211 | ) | |
| 212 | 212 | ||
| 213 | - config = Struct() | ||
| 214 | - loadini(config, options.config) | ||
| 215 | - | ||
| 216 | - return config, options, options.args | ||
| 213 | + return Config(options.config), options, options.args | ||
| 217 | 214 | ||
| 218 | 215 | ||
| 219 | 216 | def exec_code(interpreter, args): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments