From 6b6b8e3ee5c52e002c4a7a2b1c7d3f3b85ff9441 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 9 Jul 2020 23:27:42 +0100 Subject: [PATCH] Removing Commentary --- db.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/db.py b/db.py index 1ceb650b..751aa613 100644 --- a/db.py +++ b/db.py @@ -23,18 +23,3 @@ def connection(): sys.exit(1) return conn - - -connection() - -"""if conn: -print("Connected to MySQL Server version ") -cursor = conn.cursor() -cursor.execute("SELECT * FROM LOGS;") -record = cursor.fetchone() -print("You're connected to database: ", record) -""" -# if conn: -"""cursor.close() -conn.close()""" -# print("MySQL connection is closed")