Connect to the correct database
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
31d4c7ef73
commit
1243481f16
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue