summaryrefslogtreecommitdiffstats
path: root/fb.py
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-02-13 13:56:19 +0100
committerFlorian Pritz <bluewind@xinu.at>2016-02-13 13:56:19 +0100
commitb2cc4200359e94da78d7dbd2b9c9bc2d5b158a91 (patch)
tree5baabf2d87c43a16fdfb458f76a7ca00dabfa551 /fb.py
parent7bc7d05ad0aff3f3bb2453be691010f7ea46da3a (diff)
Add some empty lines for readability
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-xfb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fb.py b/fb.py
index cbde9d1..82c4b7e 100755
--- a/fb.py
+++ b/fb.py
@@ -175,6 +175,7 @@ class CURLWrapper:
self.curl.setopt(pycurl.PROGRESSFUNCTION, self.progressBar.progress)
#self.curl.setopt(pycurl.MAX_SEND_SPEED_LARGE, 200000)
self.curl.perform()
+
if self.config["debug"]:
print(b.getvalue())
@@ -182,6 +183,7 @@ class CURLWrapper:
def perform(self):
response = self.perform_simple()
+
try:
result = json.loads(response)
except ValueError: