Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm committed Feb 19, 2024
1 parent 2637028 commit fb892f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion threedi_schema/application/threedi_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ def get_engine(self, get_seperate_engine=False):
poolclass = NullPool
if str(self.path).endswith(".gpkg"):
engine = create_engine(
"gpkg:///{0}".format(self._path), echo=self.echo, poolclass=poolclass
"gpkg:///{0}".format(self._path),
echo=self.echo,
poolclass=poolclass,
)
listen(engine, "connect", load_spatialite_gpkg)
else:
Expand Down

0 comments on commit fb892f0

Please sign in to comment.