when viewing, there is no path and not needed for viewing anyway
This commit is contained in:
@@ -278,13 +278,15 @@ class States(PA):
|
||||
last_used=datetime.now(pytz.utc)
|
||||
|
||||
# set the prefix based on path
|
||||
path=None
|
||||
if self.path_type == 'Storage':
|
||||
path = SettingsSPath()
|
||||
elif self.path_type == 'Import':
|
||||
path = SettingsIPath()
|
||||
elif self.path_type == 'Bin':
|
||||
path = SettingsRBPath()
|
||||
self.prefix = SymlinkName(self.path_type,path,path+'/')
|
||||
if path:
|
||||
self.prefix = SymlinkName(self.path_type,path,path+'/')
|
||||
|
||||
# now save pref
|
||||
if not pref:
|
||||
|
||||
Reference in New Issue
Block a user