From 0035f69c182694ca6a63029d6cab104cc30ff00d Mon Sep 17 00:00:00 2001 From: A_D Date: Tue, 5 Jan 2021 19:28:51 +0200 Subject: [PATCH] Missed one _str --- prefs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prefs.py b/prefs.py index cfc4aded..a86f5521 100644 --- a/prefs.py +++ b/prefs.py @@ -800,7 +800,7 @@ class PreferencesDialog(tk.Toplevel): plugins_frame = nb.Frame(notebook) plugins_frame.columnconfigure(0, weight=1) plugdir = tk.StringVar() - plugdir.set(config.plugin_dir) + plugdir.set(config.plugin_dir_str) row = AutoInc(1) # Section heading in settings @@ -1008,7 +1008,7 @@ class PreferencesDialog(tk.Toplevel): elif platform == 'darwin' and NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get()): if pathvar.get().startswith(config.home_str): display = ['~'] + NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get())[ - len(NSFileManager.defaultManager().componentsToDisplayForPath_(config.home)): + len(NSFileManager.defaultManager().componentsToDisplayForPath_(config.home_str)): ] else: