Skip to content

Commit

Permalink
Fix: get_peewee_version_tuple() must return tuple of ints (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyryk committed Mar 5, 2017
1 parent b16e3fe commit c00cb3c
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 @@ -26,7 +26,7 @@


def get_peewee_version_tuple():
return tuple(peewee.__version__.split('.'))
return tuple([int(x) for x in peewee.__version__.split('.')])

PEEWEE_VERSION = get_peewee_version_tuple()

Expand Down

0 comments on commit c00cb3c

Please sign in to comment.