Skip to content

Commit

Permalink
Merge abe81c1 into b6a458a
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Sep 16, 2021
2 parents b6a458a + abe81c1 commit d1bf1f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion praw/util/token_manager.py
Expand Up @@ -11,7 +11,6 @@
Tokens managers have been depreciated and will be removed in the near future.
"""
import sqlite3
from abc import ABC, abstractmethod


Expand Down Expand Up @@ -121,6 +120,8 @@ def __init__(self, database, key):
"""
super().__init__()
import sqlite3

self._connection = sqlite3.connect(database)
self._connection.execute(
"CREATE TABLE IF NOT EXISTS tokens (id, refresh_token, updated_at)"
Expand Down

0 comments on commit d1bf1f1

Please sign in to comment.