Connect to the correct database

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-03-08 14:27:46 +00:00
parent 31d4c7ef73
commit 1243481f16

View file

@ -86,7 +86,7 @@ if fname == "":
print("ERROR: No file name given")
sys.exit(1)
db = pymysql.connect("localhost", dbuser, dbpw, "worldbuild")
db = pymysql.connect("localhost", dbuser, dbpw, dbname)
cursor = db.cursor()