diff --git a/modelbaker/iliwrapper/ili2dbconfig.py b/modelbaker/iliwrapper/ili2dbconfig.py index 4a9fdca..28c1e0e 100644 --- a/modelbaker/iliwrapper/ili2dbconfig.py +++ b/modelbaker/iliwrapper/ili2dbconfig.py @@ -299,7 +299,7 @@ def to_ili2db_args(self, extra_args=[], with_action=True): elif self.db_ili_version is None or self.db_ili_version > 3: self.append_args(args, ["--strokeArcs=False"]) - if self.tool & DbIliMode.gpkg: + if self.tool and (self.tool & DbIliMode.gpkg): if self.create_gpkg_multigeom: self.append_args(args, ["--gpkgMultiGeomPerTable"], True) elif self.db_ili_version is None or self.db_ili_version > 3: