Fix types

This commit is contained in:
Phillip Kühne 2022-07-15 15:09:48 +02:00
parent adfd120636
commit fc78bdc4fe
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA

View File

@ -1,9 +1,8 @@
# -*- coding: utf_8 -*-
from types import NoneType
from email.mime import base
from MySQLdb import Connection
from sqlalchemy import create_engine
import sqlite3
from sqlalchemy import create_engine, engine
import mariadb
import pandas
from io import StringIO
@ -16,7 +15,7 @@ done_table = "done_songs"
connection = None
def open_db() -> Connection:
def open_db() -> engine.base.Connection:
global connection
if (not connection):
engine = create_engine(