소스 검색

Making CSRF verbose

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')