diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-02-13 13:56:19 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-02-13 13:56:19 +0100 |
commit | b2cc4200359e94da78d7dbd2b9c9bc2d5b158a91 (patch) | |
tree | 5baabf2d87c43a16fdfb458f76a7ca00dabfa551 /fb.py | |
parent | 7bc7d05ad0aff3f3bb2453be691010f7ea46da3a (diff) |
Add some empty lines for readability
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-x | fb.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |