Skip to content

Commit c98bec6

Browse files
committed
add flush to the output
1 parent af1ef52 commit c98bec6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jni/application/python/start.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ int main(int argc, char **argv) {
8686
" for l in lines[:-1]:\n" \
8787
" androidembed.log(l)\n" \
8888
" self.buffer = lines[-1]\n" \
89+
" def flush(self):\n" \
90+
" return\n" \
8991
"sys.stdout = sys.stderr = LogFile()\n" \
9092
"import site; print site.getsitepackages()\n"\
9193
"print 'Android path', sys.path\n" \

0 commit comments

Comments
 (0)