[stickynotes-antispam] Fix syntax error



commit 8f6ac7cb57d011bfbb1f882d325c94c5107a74fa
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Oct 1 13:06:43 2019 +0200

    Fix syntax error

 stickynotes-antispam.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stickynotes-antispam.py b/stickynotes-antispam.py
index 7af7159..2565f0b 100755
--- a/stickynotes-antispam.py
+++ b/stickynotes-antispam.py
@@ -45,7 +45,7 @@ def main():
     except KeyError:
         sys.exit(1)
 
-    db = MySQLdb.connect(host=hostname, user=username, pass=password, db=dbname)
+    db = MySQLdb.connect(host=hostname, user=username, password=password, db=dbname)
     with db.cursor() as c:
         c.execute("""SELECT urlkey, data FROM main""")
         pastes = c.fetchall()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]