From 3f7410dccb2049ef5ecc8e5e074b68150a1c97af Mon Sep 17 00:00:00 2001 From: DJh2o2 Date: Sun, 7 Aug 2022 21:11:20 +0200 Subject: [PATCH] remove sqlite3 --- bandwidth.py | 2 +- bandwidth.sh | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/bandwidth.py b/bandwidth.py index 971c614..1baa4f7 100644 --- a/bandwidth.py +++ b/bandwidth.py @@ -1,6 +1,6 @@ import matplotlib.pyplot as plt import mysql.connector -#matplotlib.use('tkAgg') +matplotlib.use('tkAgg') # mariadb mariadbConnection = mysql.connector.connect( diff --git a/bandwidth.sh b/bandwidth.sh index 3bf86d0..b22e5ec 100644 --- a/bandwidth.sh +++ b/bandwidth.sh @@ -1,15 +1,5 @@ #!/bin/bash -# function writeSqlite3 () -# { -# # now import the csv data in to sqlite db -# echo "write data to sqlite3" -# sqlite3 -batch bandwidth.db <<"EOF" -# .separator "," -# .import speedtest.tmp bandwidth -# EOF -# } - function writeMariaDB () { echo "write data to mariadb" @@ -24,7 +14,6 @@ function runTest () bat speedtest.tmp # write output to db - # writeSqlite3 writeMariaDB # write output to csv