missing expanduser in FrappyManager.config_dirs

+ start nicos with python3
This commit is contained in:
l_samenv 2022-08-23 16:18:38 +02:00
parent e67fa0bc35
commit a7559c648e
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# *****************************************************************************
#

View File

@ -61,7 +61,7 @@ class FrappyManager(ServiceManager):
confdir = section.get('confdir', confdir)
for cfgpath in confdir.split(os.pathsep):
if cfgpath.endswith('<SERV>'):
cfgpaths.append(cfgpath[:-6] + service)
cfgpaths.append(expanduser(cfgpath[:-6] + service))
else:
scfg = join(cfgpath, service)
if isdir(scfg):