Spaces:
Runtime error
Runtime error
add debug message
Browse files
py_code_analyzer/code_imports_analyzer.py
CHANGED
|
@@ -32,6 +32,7 @@ async def get_program_text(session, python_file):
|
|
| 32 |
headers={"Accept": "application/vnd.github.v3+json"},
|
| 33 |
) as response:
|
| 34 |
data = await response.json()
|
|
|
|
| 35 |
if data["encoding"] == "base64":
|
| 36 |
return data["content"]
|
| 37 |
else:
|
|
|
|
| 32 |
headers={"Accept": "application/vnd.github.v3+json"},
|
| 33 |
) as response:
|
| 34 |
data = await response.json()
|
| 35 |
+
print(data)
|
| 36 |
if data["encoding"] == "base64":
|
| 37 |
return data["content"]
|
| 38 |
else:
|