Some UI adjustment

This commit is contained in:
Donald Zou
2024-08-09 22:16:38 -04:00
parent aa3711c5cc
commit 410b81f46f
5 changed files with 24 additions and 32 deletions

View File

@@ -799,7 +799,7 @@ class WireguardConfiguration:
sqldb.cursor().execute(
"UPDATE %s SET cumu_receive = ?, cumu_sent = ?, cumu_data = ? WHERE id = ?" %
self.Name, (cumulative_receive, cumulative_sent,
rcumulative_sent + cumulative_receive,
cumulative_sent + cumulative_receive,
data_usage[i][0],))
total_sent = 0
total_receive = 0