summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-web/website/contents/count.py
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-web/website/contents/count.py')
-rw-r--r--linhes/linhes-web/website/contents/count.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linhes/linhes-web/website/contents/count.py b/linhes/linhes-web/website/contents/count.py
index 2aaa3e1..f0eee97 100644
--- a/linhes/linhes-web/website/contents/count.py
+++ b/linhes/linhes-web/website/contents/count.py
@@ -32,7 +32,7 @@ def main(argv):
hours = grandtotal / 60.0
days = hours / 24.0
try:
- cursor.execute("SELECT unix_timestamp(starttime),unix_timestamp(endtime),title FROM recorded where not (recgroup=(%s)) ORDER by starttime",("LiveTV"))
+ cursor.execute("SELECT unix_timestamp(starttime),unix_timestamp(endtime),title FROM recorded where not (recgroup=('LiveTV')) ORDER by starttime;")
except:
pass
result_current = cursor.fetchall()