You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@warble.apache.org by hu...@apache.org on 2018/06/25 03:12:11 UTC
[incubator-warble-server] 03/07: no longer need cookie var here
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-warble-server.git
commit 80def088bcce6b45b1b27b35404f0a9ae35fbd64
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Jun 24 22:03:45 2018 -0500
no longer need cookie var here
---
setup/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup/setup.py b/setup/setup.py
index b8ed32a..87c59cc 100644
--- a/setup/setup.py
+++ b/setup/setup.py
@@ -86,7 +86,7 @@ db_filepath = os.path.join(datapath, 'accounts.db')
conn = sqlite3.connect(db_filepath)
c = conn.cursor()
try:
- c.execute("INSERT INTO `accounts` (`cookie`, `userid`, `password`, `superuser`) VALUES ('zzz', ?, ?, 1)", (supername, pwd))
+ c.execute("INSERT INTO `accounts` (`userid`, `password`, `superuser`) VALUES (?, ?, 1)", (supername, pwd))
conn.commit()
print("Saved new super user account %s in %s" % (supername, db_filepath))
except sqlite3.IntegrityError:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@warble.apache.org
For additional commands, e-mail: commits-help@warble.apache.org