Skip to content

Commit

Permalink
Update pmpermit_sql.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerpq authored Dec 13, 2023
1 parent ad9f7a9 commit c2e0703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repthon/sql_helper/pmpermit_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, user_id, first_name, date, username, reason):
self.reason = reason


PmPermit_Sql.__table__.create(checkfirst=True)
PmPermit_Sql.__table__.create(bind=SESSION.get_bind(), checkfirst=True)


def approve(user_id, first_name, date, username, reason):
Expand Down

0 comments on commit c2e0703

Please sign in to comment.