Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
13b639dc5a | |||
ec1141a46e | |||
77170433c2 | |||
4736f70203 |
@ -2,6 +2,12 @@
|
||||
History
|
||||
=======
|
||||
|
||||
|
||||
0.17.0 (2019-11-21)
|
||||
-------------------
|
||||
|
||||
* 12th anniversary's endpoints added
|
||||
* Telegram message queue optimisation
|
||||
* WC end fighting energy bugfix
|
||||
* More strict fighting limiting before week change
|
||||
* Improved and fixed ground damage booster usage
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
__author__ = """Eriks Karls"""
|
||||
__email__ = 'eriks@72.lv'
|
||||
__version__ = '0.16.1'
|
||||
__version__ = '0.17.1'
|
||||
|
||||
from erepublik import classes, utils
|
||||
from erepublik.citizen import Citizen
|
||||
|
@ -1010,7 +1010,7 @@ class MyJSONEncoder(JSONEncoder):
|
||||
return dict(headers=o.headers.__dict__, url=o.url, text=o.text)
|
||||
elif hasattr(o, '__dict__'):
|
||||
return o.__dict__
|
||||
elif isinstance(o, deque):
|
||||
elif isinstance(o, (deque, set)):
|
||||
return list(o)
|
||||
elif isinstance(o, Citizen):
|
||||
return o.to_json()
|
||||
|
@ -1,5 +1,5 @@
|
||||
[bumpversion]
|
||||
current_version = 0.16.1
|
||||
current_version = 0.17.1
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
|
Reference in New Issue
Block a user