Skip to content

Commit

Permalink
Merge pull request #39 from grazor/master
Browse files Browse the repository at this point in the history
Fix allow_sync with loglevel argument causing a TypeError
  • Loading branch information
rudyryk committed Sep 20, 2016
2 parents 0465639 + b4b5c8a commit 5c300c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peewee_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ def execute_sql(self, *args, **kwargs):
if self._allow_sync in (logging.ERROR, logging.WARNING):
logging.log(self._allow_sync,
"Error, sync query is not allowed: %s %s" %
str(args), str(kwargs))
(str(args), str(kwargs)))
return super().execute_sql(*args, **kwargs)


Expand Down

0 comments on commit 5c300c7

Please sign in to comment.