Skip to content

Commit

Permalink
FIX: Broken variable substitution
Browse files Browse the repository at this point in the history
I have no idea why I never tested this before...
  • Loading branch information
d-Rickyy-b committed Sep 3, 2019
1 parent 3fb3821 commit cf49963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastepwn/database/sqlitedb.py
Expand Up @@ -50,7 +50,7 @@ def _create_tables(self):

def _insert_data(self, paste):
self.cursor.execute("INSERT INTO pastes (key, title, user, size, date, expire, syntax, scrape_url, full_url, body) "
"VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
(paste.key,
paste.title,
paste.user,
Expand Down

0 comments on commit cf49963

Please sign in to comment.