diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-02-03 22:37:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-03 22:37:36 +0100 |
| commit | 497fbcfab5734aac889f15b72384a6a8631fffa4 (patch) | |
| tree | 1f1a690a6108d7e4e0fac599d4e554edae9db6f9 /inkstitch.py | |
| parent | e1c6d8c5956c7c3c5e158c1f7415edd5bc1a0cc1 (diff) | |
Add debug variable to enable sew stack elements (#3476)
Diffstat (limited to 'inkstitch.py')
| -rw-r--r-- | inkstitch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inkstitch.py b/inkstitch.py index 50f33d19..21bb0281 100644 --- a/inkstitch.py +++ b/inkstitch.py @@ -86,7 +86,7 @@ if not running_as_frozen: # debugging/profiling only in development mode profiler_type = debug_utils.resolve_profiler_type(ini) # read profile type from ini file or cmd line if running_from_inkscape: - # process creation of the Bash script - should be done before sys.path is modified, see below in prefere_pip_inkex + # process creation of the Bash script - should be done before sys.path is modified, see below in prefer_pip_inkex if safe_get(ini, "DEBUG", "create_bash_script", default=False): # create script only if enabled in DEBUG.toml debug_utils.write_offline_debug_script(SCRIPTDIR, ini) @@ -97,8 +97,8 @@ if not running_as_frozen: # debugging/profiling only in development mode # prefer pip installed inkex over inkscape bundled inkex, pip version is bundled with Inkstitch # - must be be done before importing inkex - prefere_pip_inkex = safe_get(ini, "LIBRARY", "prefer_pip_inkex", default=True) - if prefere_pip_inkex and 'PYTHONPATH' in os.environ: + prefer_pip_inkex = safe_get(ini, "LIBRARY", "prefer_pip_inkex", default=True) + if prefer_pip_inkex and 'PYTHONPATH' in os.environ: debug_utils.reorder_sys_path() # enabling of debug depends on value of debug_type in DEBUG.toml file |
