gui.py
@@ -168,7 +168,7 @@ text.insert(END, error) _set_error_color(text, 1, error) finally: redis.connection_pool.disconnect() RedisUtils.realse(redis) # 验证mongodb try: counts = mysql_data.Mysqldb().select_one("select count(*) from clients") @@ -956,7 +956,7 @@ except Exception as e1: showerror("导出失败", str(e1)) finally: redis.connection_pool.disconnect() RedisUtils.realse(redis) showinfo("提示", "导出完成")