use new base_path Setting, but have not tested use of absolute paths instead of relative paths, also need better tooltips for the paths -- AND, still have odd trailing slash due to SymLinkName, etc. being too complex
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from settings import Settings
|
||||
from settings import Settings, SettingsRBPath, SettingsIPath, SettingsSPath
|
||||
from shared import PA
|
||||
|
||||
################################################################################
|
||||
@@ -23,15 +23,16 @@ class Options(PA):
|
||||
if 'files_sp' in url:
|
||||
self.noo="A to Z"
|
||||
self.path_type = 'Storage'
|
||||
self.paths = settings.storage_path.split("#")
|
||||
self.paths = SettingsSPath()
|
||||
elif 'files_rbp' in url:
|
||||
self.path_type = 'Bin'
|
||||
self.paths = settings.recycle_bin_path.split("#")
|
||||
self.paths = []
|
||||
self.paths.append(SettingsRBPath())
|
||||
else:
|
||||
self.folders=False
|
||||
self.path_type = 'Import'
|
||||
self.cwd='static/Import'
|
||||
self.paths = settings.import_path.split("#")
|
||||
self.paths = SettingsIPath()
|
||||
|
||||
self.cwd='static/' + self.path_type
|
||||
self.root=self.cwd
|
||||
|
||||
Reference in New Issue
Block a user