fix buf: cfg == 'none' instead of cfg is 'none'
This commit is contained in:
parent
f91a51dc93
commit
6201a6bc81
@ -409,7 +409,7 @@ class FrappyManager(ServiceManager):
|
|||||||
return super().treat_args(argdict, unknown, extra)
|
return super().treat_args(argdict, unknown, extra)
|
||||||
|
|
||||||
def check_cfg_file(self, ins, service, cfg, needsea=False):
|
def check_cfg_file(self, ins, service, cfg, needsea=False):
|
||||||
if cfg is 'none':
|
if cfg == 'none':
|
||||||
return ''
|
return ''
|
||||||
try:
|
try:
|
||||||
desc, sea_cfg = self.cfg_details(self, ins, service, cfg)
|
desc, sea_cfg = self.cfg_details(self, ins, service, cfg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user