fix buf: cfg == 'none' instead of cfg is 'none'

This commit is contained in:
zolliker 2024-05-08 15:01:59 +02:00
parent f91a51dc93
commit 6201a6bc81

View File

@ -409,7 +409,7 @@ class FrappyManager(ServiceManager):
return super().treat_args(argdict, unknown, extra)
def check_cfg_file(self, ins, service, cfg, needsea=False):
if cfg is 'none':
if cfg == 'none':
return ''
try:
desc, sea_cfg = self.cfg_details(self, ins, service, cfg)