Skip to content

Commit

Permalink
fixed merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Dec 18, 2023
1 parent 128f498 commit 3b90369
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/cs50/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,19 +563,12 @@ def __escape(value):

# str
elif isinstance(value, str):
<<<<<<< HEAD
return sqlparse.sql.Token(
sqlparse.tokens.String,
sqlalchemy.types.String().literal_processor(self._engine.dialect)(
value
),
)
=======
literal = sqlalchemy.types.String().literal_processor(self._engine.dialect)(value)
#if self._engine.dialect.identifier_preparer._double_percents:
# literal = literal.replace("%%", "%")
return sqlparse.sql.Token(sqlparse.tokens.String, literal)
>>>>>>> 3863555 (fixes #171)

# None
elif value is None:
Expand Down

0 comments on commit 3b90369

Please sign in to comment.