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

This commit is contained in:
zolliker committed 2024-05-08 15:01:59 +02:00
1 parent f91a51dc93
commit 6201a6bc81
1 file changed
+1 -1
+1 -1
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)