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