Skip to content

Commit

Permalink
chek tools if null
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Oct 31, 2024
1 parent c64340b commit 978b1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modelbaker/iliwrapper/ili2dbconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 978b1c9

Please sign in to comment.