diff options
| author | root <root@turin.home> | 2022-02-03 18:24:12 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-02-03 18:24:12 +0000 |
| commit | 856ad3f0fbf0f312d238778b7ec26f6430f88d22 (patch) | |
| tree | 876ef55393258f5fd4d4e641ab017d3f5d6b894c /main.py | |
| parent | 8600370a572ee933cf538cb3dd6fa7098f477c7c (diff) | |
Minor error
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ def export(opt): if opt in ["temperature", "weather", "history", "schedule"]: con = sqlite3.connect(DBFILE) cur = con.cursor() - data = cur.exec("select * from {}".format(opt)) + data = cur.execute("select * from {}".format(opt)) o = "" for i in data: o += str(a) + "\n" |
