Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
oczkers committed Oct 12, 2017
1 parent 056d5e1 commit a22e9cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Changelog
---------


0.3.0 (2017-10-??)
0.3.0 (2017-10-12)
^^^^^^^^^^^^^^^^^^

* initial release for fifa 18
* bump useragent && flash version
* bump useragent
* add ability to login via sms code or totp authenticator (fully automatic)
* pinEvents

Expand Down
4 changes: 2 additions & 2 deletions fut/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ def club(self, sort='desc', ctype='player', defId='', start=0, count=91):
pgid = 'Club - Players - List View'
elif ctype == 'item':
pgid = 'Club - Club Items - List View'
else: # TODO: THIS IS WRONG, detect all ctypes
else: # TODO: THIS IS WRONG, detect all ctypes
pgid = 'Club - Club Items - List View'
events = [self.pin.event('page_view', pgid)]
self.pin.send(events)
Expand Down Expand Up @@ -999,7 +999,7 @@ def sell(self, item_id, bid, buy_now=10000, duration=3600):

# TODO: auto send to tradepile
data = {'buyNowPrice': buy_now, 'startingBid': bid, 'duration': duration, 'itemData': {'id': item_id}}
rc = self.__request__(method, url, data=json.dumps(data), params='sku_a': self.sku_a)
rc = self.__request__(method, url, data=json.dumps(data), params={'sku_a': self.sku_a})
return rc['id']

def quickSell(self, item_id):
Expand Down
2 changes: 1 addition & 1 deletion fut/pin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

import requests
import re
import datetime
import json
from datetime import datetime

from fut.config import headers
from fut.exceptions import FutError
Expand Down

0 comments on commit a22e9cc

Please sign in to comment.