Mercurial > ~darius > hgwebdir.cgi > vanlogger
changeset 10:3f5b617b4715
Change default columns to be more useful
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Fri, 22 Dec 2017 13:14:23 +0100 |
parents | 899bc9c22787 |
children | e1bec6dfd524 |
files | graph.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graph.py Fri Dec 22 13:11:23 2017 +0100 +++ b/graph.py Fri Dec 22 13:14:23 2017 +0100 @@ -89,7 +89,7 @@ cols = args.column if cols == None: - cols = ['main_voltage', 'aux_voltage', 'ac_app_power'] + cols = ['state_of_charge', 'load_pct', 'main_voltage', 'aux_voltage'] dbh = sqlite3.connect(args.filename, detect_types = sqlite3.PARSE_DECLTYPES) cur = dbh.cursor()