7626:7f643d41464e | 7628:f904d0eef264 |
---|---|
653 data = str(reply.readAll(), | 653 data = str(reply.readAll(), |
654 Preferences.getSystem("IOEncoding"), | 654 Preferences.getSystem("IOEncoding"), |
655 'replace') | 655 'replace') |
656 try: | 656 try: |
657 result = json.loads(data) | 657 result = json.loads(data) |
658 except Exception: | 658 except Exception: # secok |
659 # ignore JSON exceptions | 659 # ignore JSON exceptions |
660 pass | 660 pass |
661 | 661 |
662 return result | 662 return result |
663 | 663 |