10000 fix: fix TypeError: expected str, ..., not NoneType · kivy/python-for-android@8e975dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e975dd

Browse files
authored
fix: fix TypeError: expected str, ..., not NoneType
1 parent 68ab3f0 commit 8e975dd

File tree

1 file changed

+2
-0
lines changed
  • pythonforandroid/bootstraps/common/build

1 file changed

+2
-0
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ def clean(tinfo):
167167
continue
168168
if fn.endswith('.py') and byte_compile_python:
169169
fn = compile_py_file(fn, optimize_python=optimize_python)
170+
if fn is None:
171+
continue
170172
files.append((fn, relpath(realpath(fn), sd)))
171173
files.sort() # deterministic
172174

0 commit comments

Comments
 (0)
0