mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-07 02:43:22 +03:00
Missed one _str
This commit is contained in:
parent
00629b7420
commit
0035f69c18
4
prefs.py
4
prefs.py
@ -800,7 +800,7 @@ class PreferencesDialog(tk.Toplevel):
|
|||||||
plugins_frame = nb.Frame(notebook)
|
plugins_frame = nb.Frame(notebook)
|
||||||
plugins_frame.columnconfigure(0, weight=1)
|
plugins_frame.columnconfigure(0, weight=1)
|
||||||
plugdir = tk.StringVar()
|
plugdir = tk.StringVar()
|
||||||
plugdir.set(config.plugin_dir)
|
plugdir.set(config.plugin_dir_str)
|
||||||
row = AutoInc(1)
|
row = AutoInc(1)
|
||||||
|
|
||||||
# Section heading in settings
|
# Section heading in settings
|
||||||
@ -1008,7 +1008,7 @@ class PreferencesDialog(tk.Toplevel):
|
|||||||
elif platform == 'darwin' and NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get()):
|
elif platform == 'darwin' and NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get()):
|
||||||
if pathvar.get().startswith(config.home_str):
|
if pathvar.get().startswith(config.home_str):
|
||||||
display = ['~'] + NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get())[
|
display = ['~'] + NSFileManager.defaultManager().componentsToDisplayForPath_(pathvar.get())[
|
||||||
len(NSFileManager.defaultManager().componentsToDisplayForPath_(config.home)):
|
len(NSFileManager.defaultManager().componentsToDisplayForPath_(config.home_str)):
|
||||||
]
|
]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user