Andrej пре 1 година
родитељ
комит
a1e1eda127
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      labkeyInterface.py

+ 1 - 0
labkeyInterface.py

@@ -142,6 +142,7 @@ class labkeyInterface:
         try:
             response=self.get(url)
             encoding=chardet.detect(response.data)['encoding']
+            print(f'Got encoding: {encoding}')
             jsonData=json.loads(response.data.decode(encoding))
         except AttributeError:
             print('Failed')