summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-02-03 18:25:25 +0000
committerroot <root@turin.home>2022-02-03 18:25:25 +0000
commit0e23673e015a5261019a151f22b419f4c80b7e8d (patch)
treebe7c3ba0899d8fd453d60de753063aa0b3e7fc08 /main.py
parent856ad3f0fbf0f312d238778b7ec26f6430f88d22 (diff)
Minor error
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index e31907e..df6d919 100644
--- a/main.py
+++ b/main.py
@@ -81,7 +81,7 @@ def export(opt):
data = cur.execute("select * from {}".format(opt))
o = ""
for i in data:
- o += str(a) + "\n"
+ o += str(i) + "\n"
con.close()
with open('static/export.txt', 'w') as file:
file.write(o)