Skip to content

Commit 3f5cf6c

Browse files
committed
bunq/sdk_python#13 Small pipfile fix, updated Pipfile.lock and merged in develop.
1 parent 79304e2 commit 3f5cf6c

File tree

3 files changed

+76
-72
lines changed

3 files changed

+76
-72
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
bunq-sdk = "1.13.1"
7+
bunq-sdk = "==1.13.1"
88

99
[dev-packages]
1010

Pipfile.lock

Lines changed: 70 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tinker/libs/bunq_lib.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import json
2-
from re import search
3-
from os.path import isfile
4-
from os import remove
52
import socket
3+
from os import remove
4+
from os.path import isfile
65
from time import sleep
76

87
import requests
@@ -13,11 +12,10 @@
1312
from bunq.sdk.exception import BunqException
1413
from bunq.sdk.exception import ForbiddenException
1514
from bunq.sdk.model.generated import endpoint
16-
from bunq.sdk.model.generated.object_ import Pointer
1715
from bunq.sdk.model.generated.object_ import Amount
18-
from bunq.sdk.model.generated.object_ import NotificationFilter
1916
from bunq.sdk.model.generated.object_ import CardPinAssignment
20-
17+
from bunq.sdk.model.generated.object_ import NotificationFilter
18+
from bunq.sdk.model.generated.object_ import Pointer
2119

2220
NOTIFICATION_DELIVERY_METHOD_URL = 'URL'
2321

@@ -282,4 +280,4 @@ def __request_spending_money_if_needed(self):
282280

283281
def __should_request_spending_money(self):
284282
return self.env == ApiEnvironmentType.SANDBOX \
285-
and float(BunqContext.user_context().primary_monetary_account.balance.value) <= self._ZERO_BALANCE
283+
and float(BunqContext.user_context().primary_monetary_account.balance.value) <= self._ZERO_BALANCE

0 commit comments

Comments
 (0)