[stickynotes-antispam] Fix syntax error
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [stickynotes-antispam] Fix syntax error
- Date: Tue, 1 Oct 2019 11:06:48 +0000 (UTC)
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]