Skip to content

Commit

Permalink
Merge branch 'master' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
oczkers committed Jan 26, 2014
2 parents 59a9739 + de7e476 commit ecfb3ee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ log.log
content.log
error.log
fut14.log
test.log
2 changes: 1 addition & 1 deletion fut14/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""

__title__ = 'fut14'
__version__ = '0.0.8'
__version__ = '0.0.9'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down
4 changes: 3 additions & 1 deletion fut14/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ def searchAuctions(self, ctype, level=None, category=None, assetId=None,
playStyle=None, start=0, page_size=16):
"""Search specific items on transfer market."""
# TODO: add "search" alias
# TODO: generator
if start > 0 and page_size == 16:
page_size = 13
elif page_size > 50: # server restriction
Expand Down Expand Up @@ -380,7 +381,8 @@ def sendToClub(self, trade_id, item_id):

def relist(self):
"""Relist all tradepile."""
self.__post__(self.urls['fut']['SearchAuctionsReListItem'])
# TODO: return relisted ids
self.__put__(self.urls['fut']['SearchAuctionsReListItem'])
#{"tradeIdList":[{"id":139632781208},{"id":139632796467}]}
return True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


__title__ = 'fut14'
__version__ = '0.0.8'
__version__ = '0.0.9'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down

0 comments on commit ecfb3ee

Please sign in to comment.