core, memory: use XDG recommended paths as the defaults for the config and local directories
This commit is contained in:
parent
90fc3d78e0
commit
3075585d9d
1 changed files with 56 additions and 17 deletions
|
|
@ -97,11 +97,6 @@ class SAT(service.Service):
|
|||
self.plugins = {}
|
||||
|
||||
self.memory = Memory(self)
|
||||
|
||||
local_dir = self.memory.getConfig('', 'local_dir')
|
||||
if not os.path.exists(local_dir):
|
||||
os.makedirs(local_dir)
|
||||
|
||||
self.trigger = TriggerManager() # trigger are used to change SàT behaviour
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue