sqlite3 syntax error because of trailing "
This commit is contained in:
parent
244bde51b6
commit
0cf1d8b603
|
@ -138,6 +138,10 @@ sudo sed -r "s/example.org/$DOMAIN/g" deployment/example.org.conf > /etc/nginx/s
|
|||
sudo mkdir /var/ticketfrei
|
||||
sudo chown www-data:www-data -R /var/ticketfrei
|
||||
|
||||
# change /etc/aliases permissions to be able to receive reports per mail
|
||||
sudo chown root:www-data /etc/aliases
|
||||
sudo chmod 664 /etc/aliases
|
||||
|
||||
# create folder for logs
|
||||
sudo mkdir /var/log/ticketfrei
|
||||
sudo chown www-data:www-data -R /var/log/ticketfrei
|
||||
|
|
2
user.py
2
user.py
|
@ -286,7 +286,7 @@ schlitz
|
|||
"oauth_token_secret": request_token[1]}
|
||||
|
||||
def save_twitter_token(self, access_token, access_token_secret):
|
||||
db.execute(""""INSERT INTO twitter_accounts(
|
||||
db.execute("""INSERT INTO twitter_accounts(
|
||||
user_id, client_id, client_secret
|
||||
) VALUES(?, ?, ?);""",
|
||||
(self.uid, access_token, access_token_secret))
|
||||
|
|
Loading…
Reference in a new issue