Skip to content

Commit

Permalink
fix missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
lpofredc committed Oct 8, 2024
1 parent b7eebc1 commit 88ef806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gn2pg/store_postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def custom_script(self, script: str = "to_gnsynthese") -> None:
logger.info(_("Start to execute %s script"), script)
conn = self._db.connect()
if script == "to_gnsynthese":
file = importlib.resources.files(__name__).joinpath("data", "to_gnsynthese.sql")
file = importlib.resources.files(__package__).joinpath("data", "to_gnsynthese.sql")
logger.info(
_("You choosed to use internal to_gnsynthese.sql script in schema %s"),
self._db_schema,
Expand Down

0 comments on commit 88ef806

Please sign in to comment.