diff options
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" |
