Skip to content

Commit

Permalink
add flush to the output
Browse files Browse the repository at this point in the history
  • Loading branch information
tshirtman committed Nov 12, 2012
1 parent af1ef52 commit c98bec6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jni/application/python/start.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ int main(int argc, char **argv) {
" for l in lines[:-1]:\n" \
" androidembed.log(l)\n" \
" self.buffer = lines[-1]\n" \
" def flush(self):\n" \
" return\n" \
"sys.stdout = sys.stderr = LogFile()\n" \
"import site; print site.getsitepackages()\n"\
"print 'Android path', sys.path\n" \
Expand Down

0 comments on commit c98bec6

Please sign in to comment.