summaryrefslogtreecommitdiff
path: root/webtoken.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-16 00:49:55 +0200
committerjomo <github@jomo.tv>2014-07-16 00:49:55 +0200
commit9a0779d16840b90f7166fbdd8c29c26d06d79c6e (patch)
tree2d622ecd86f7c090b8dcc1c09fc877adc1f3c354 /webtoken.py
parenta61691bb1d998919d63feddf71a348215b8639cc (diff)
more code cleanup
Diffstat (limited to 'webtoken.py')
-rw-r--r--webtoken.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/webtoken.py b/webtoken.py
index 33cf58e..d01ba75 100644
--- a/webtoken.py
+++ b/webtoken.py
@@ -1,5 +1,5 @@
-#pylint: disable=F0401
-import mysqlhack #pylint: disable=unused-import
+#pylint: disable = F0401
+import mysqlhack #pylint: disable = unused-import
import thread
from re import match
from com.ziclix.python.sql import zxJDBC
@@ -17,7 +17,7 @@ from random import randrange
# string "email", null: false
-def mysql_query(query, args, fetch=True):
+def mysql_query(query, args, fetch = True):
conn = zxJDBC.connect(mysql_database, mysql_user, mysql_pass, "com.mysql.jdbc.Driver")
curs = conn.cursor()
curs.execute(query, args)