Fixed small bug in which mysql_db was assumed a class element
This commit is contained in:
parent
9db6136e86
commit
6350aff47e
@ -211,7 +211,8 @@ class Plugin:
|
|||||||
|
|
||||||
datetime_now = dt.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
datetime_now = dt.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
|
|
||||||
mysql_cursor = self.mysql_db.cursor()
|
mysql_db = self.connect_database()
|
||||||
|
mysql_cursor = mysql_db.cursor()
|
||||||
|
|
||||||
select_sql = f"""SELECT dat_id, dat_cat_id,
|
select_sql = f"""SELECT dat_id, dat_cat_id,
|
||||||
dat_headline, dat_begin, dat_end
|
dat_headline, dat_begin, dat_end
|
||||||
|
Loading…
Reference in New Issue
Block a user