Skip to content

Commit a22e9cc

Browse files
committed
fix syntax
1 parent 056d5e1 commit a22e9cc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Changelog
44
---------
55

66

7-
0.3.0 (2017-10-??)
7+
0.3.0 (2017-10-12)
88
^^^^^^^^^^^^^^^^^^
99

1010
* initial release for fifa 18
11-
* bump useragent && flash version
11+
* bump useragent
1212
* add ability to login via sms code or totp authenticator (fully automatic)
1313
* pinEvents
1414

fut/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ def club(self, sort='desc', ctype='player', defId='', start=0, count=91):
867867
pgid = 'Club - Players - List View'
868868
elif ctype == 'item':
869869
pgid = 'Club - Club Items - List View'
870-
else: # TODO: THIS IS WRONG, detect all ctypes
870+
else: # TODO: THIS IS WRONG, detect all ctypes
871871
pgid = 'Club - Club Items - List View'
872872
events = [self.pin.event('page_view', pgid)]
873873
self.pin.send(events)
@@ -999,7 +999,7 @@ def sell(self, item_id, bid, buy_now=10000, duration=3600):
999999

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

10051005
def quickSell(self, item_id):

fut/pin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import requests
1212
import re
13-
import datetime
1413
import json
14+
from datetime import datetime
1515

1616
from fut.config import headers
1717
from fut.exceptions import FutError

0 commit comments

Comments
 (0)