missing expanduser in FrappyManager.config_dirs
+ start nicos with python3
This commit is contained in:
parent
e67fa0bc35
commit
a7559c648e
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
#
|
#
|
||||||
|
@ -61,7 +61,7 @@ class FrappyManager(ServiceManager):
|
|||||||
confdir = section.get('confdir', confdir)
|
confdir = section.get('confdir', confdir)
|
||||||
for cfgpath in confdir.split(os.pathsep):
|
for cfgpath in confdir.split(os.pathsep):
|
||||||
if cfgpath.endswith('<SERV>'):
|
if cfgpath.endswith('<SERV>'):
|
||||||
cfgpaths.append(cfgpath[:-6] + service)
|
cfgpaths.append(expanduser(cfgpath[:-6] + service))
|
||||||
else:
|
else:
|
||||||
scfg = join(cfgpath, service)
|
scfg = join(cfgpath, service)
|
||||||
if isdir(scfg):
|
if isdir(scfg):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user