Spaces:
Runtime error
Runtime error
remove unused
Browse files
py_code_analyzer/code_imports_analyzer.py
CHANGED
@@ -31,12 +31,11 @@ async def get_program_text(session, python_file):
|
|
31 |
headers={"Accept": "application/vnd.github.v3+json"},
|
32 |
) as response:
|
33 |
data = await response.json()
|
34 |
-
print(data)
|
35 |
if data["encoding"] == "base64":
|
36 |
return data["content"]
|
37 |
else:
|
38 |
print(
|
39 |
-
f"WARNING: {python_file}'s encoding is {data['encoding']}, not base64"
|
40 |
)
|
41 |
|
42 |
|
|
|
31 |
headers={"Accept": "application/vnd.github.v3+json"},
|
32 |
) as response:
|
33 |
data = await response.json()
|
|
|
34 |
if data["encoding"] == "base64":
|
35 |
return data["content"]
|
36 |
else:
|
37 |
print(
|
38 |
+
f"WARNING: {python_file['path']}'s encoding is {data['encoding']}, not base64"
|
39 |
)
|
40 |
|
41 |
|