Commits

Michael Manfre  committed dadb288

Fixed 'unsupported format character 'S'' caused by iendswith operator

  • Participants
  • Parent commits f9f54df

Comments (0)

Files changed (2)

File docs/changelog.txt

   expects the name of a stored procedure that returns a result set that matches the model.
 - Documented known issue with database introspection with ``DEBUG = True`` and column names containing '%'.
   See :ref:`introspecting-percent-columns`.
+- Fixed error with `iendswith` string format operator.
 
 v1.1
 ----

File sqlserver_ado/base.py

         "startswith": "LIKE %s ESCAPE '\\'",
         "endswith": "LIKE %s ESCAPE '\\'",
         "istartswith": "LIKE %s ESCAPE '\\'",
-        "iendswith": "LIKE %S ESCAPE '\\'",
+        "iendswith": "LIKE %s ESCAPE '\\'",
     }
 
     def __init__(self, *args, **kwargs):