We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b10a796 + 7aa5db8 commit 484e046Copy full SHA for 484e046
pythonforandroid/bootstraps/common/build/jni/application/src/start.c
@@ -229,9 +229,9 @@ int main(int argc, char *argv[]) {
229
" self.__buffer = ''\n"
230
" def write(self, s):\n"
231
" s = self.__buffer + s\n"
232
- " lines = s.split(\"\\n\")\n"
+ " lines = s.split('\\n')\n"
233
" for l in lines[:-1]:\n"
234
- " androidembed.log(l)\n"
+ " androidembed.log(l.replace('\\x00', ''))\n"
235
" self.__buffer = lines[-1]\n"
236
" def flush(self):\n"
237
" return\n"
0 commit comments