Spaces:
Running
Running
vrkforever
commited on
Commit
•
f606f69
1
Parent(s):
3ad16bc
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,8 @@ def extract_apk_info(apk_file):
|
|
11 |
try:
|
12 |
# Create a temporary file
|
13 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".apk") as temp_apk:
|
14 |
-
|
|
|
15 |
temp_apk_path = temp_apk.name
|
16 |
|
17 |
a, d, dx = AnalyzeAPK(temp_apk_path)
|
|
|
11 |
try:
|
12 |
# Create a temporary file
|
13 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".apk") as temp_apk:
|
14 |
+
# Write the content directly, assuming it's already the file content
|
15 |
+
temp_apk.write(apk_file.encode('latin-1'))
|
16 |
temp_apk_path = temp_apk.name
|
17 |
|
18 |
a, d, dx = AnalyzeAPK(temp_apk_path)
|