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 ebb3946 + ed474f1 commit 0c7efcdCopy full SHA for 0c7efcd
pythonforandroid/bootstraps/common/build/jni/application/src/start.c
@@ -226,13 +226,13 @@ int main(int argc, char *argv[]) {
226
PyRun_SimpleString(
227
"class LogFile(object):\n"
228
" def __init__(self):\n"
229
- " self.buffer = ''\n"
+ " self.__buffer = ''\n"
230
" def write(self, s):\n"
231
- " s = self.buffer + s\n"
+ " s = self.__buffer + s\n"
232
" lines = s.split(\"\\n\")\n"
233
" for l in lines[:-1]:\n"
234
" androidembed.log(l)\n"
235
- " self.buffer = lines[-1]\n"
+ " self.__buffer = lines[-1]\n"
236
" def flush(self):\n"
237
" return\n"
238
"sys.stdout = sys.stderr = LogFile()\n"
0 commit comments