Skip to content

Commit

Permalink
fix bug in get method, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Akasch committed Dec 26, 2019
1 parent 1bffa24 commit 5d9d683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_token_bucket/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get(cls, identifier, ref_object, max_tokens, fill_rate, whatfor=None):
)
except cls.DoesNotExist:
bucket = cls(identifier=identifier,
user=ref_object,
foreign_object=ref_object,
max_tokens=max_tokens,
fill_rate=fill_rate,
tokens=max_tokens,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages


version = '0.2.dev1'
version = '0.2'


def read(*parts):
Expand Down

0 comments on commit 5d9d683

Please sign in to comment.