Skip to content

Commit ecb61e5

Browse files
Update __init__.py
1 parent f4b2628 commit ecb61e5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

slack_sdk/oauth/state_store/sqlite3/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,13 @@ def connect(self) -> Connection:
4545

4646
def create_tables(self):
4747
with sqlite3.connect(database=self.database) as conn:
48-
conn.execute(
49-
"""
48+
conn.execute("""
5049
create table oauth_states (
5150
id integer primary key autoincrement,
5251
state text not null,
5352
expire_at datetime not null
5453
);
55-
"""
56-
)
54+
""")
5755
self.logger.debug(f"Tables have been created (database: {self.database})")
5856
conn.commit()
5957

0 commit comments

Comments
 (0)