Update speedtester.py
This commit is contained in:
@@ -80,6 +80,7 @@ def generate_updown_plot_simple(downloads, uploads, name, description):
|
|||||||
plt.xlabel("Generated at: " + datetime.now().strftime('%H:%M %d.%m.%Y'))
|
plt.xlabel("Generated at: " + datetime.now().strftime('%H:%M %d.%m.%Y'))
|
||||||
plt.ylabel(description + " (Mbps)")
|
plt.ylabel(description + " (Mbps)")
|
||||||
plt.tight_layout()
|
plt.tight_layout()
|
||||||
|
log.debug(f"Save as: {read_config()['output_image_path'].format(name)}")
|
||||||
plt.savefig(read_config()['output_image_path'].format(name))
|
plt.savefig(read_config()['output_image_path'].format(name))
|
||||||
|
|
||||||
|
|
||||||
@@ -137,6 +138,7 @@ def generate_day_mean_diff(dates, downloads, uploads):
|
|||||||
|
|
||||||
@catch_errors
|
@catch_errors
|
||||||
def gather_week_mean_data(dates, downloads, uploads):
|
def gather_week_mean_data(dates, downloads, uploads):
|
||||||
|
log.debug("Gather week mean data...")
|
||||||
dl = []
|
dl = []
|
||||||
up = []
|
up = []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user