Merge pull request #219 from kivy/std_out_fix
stdout fix for iOS 10 debugging
This commit is contained in:
commit
00fdf3c60d
1 changed files with 2 additions and 2 deletions
|
@ -121,8 +121,8 @@ void load_custom_builtin_importer() {
|
|||
"import sys, imp\n" \
|
||||
"from os import environ\n" \
|
||||
"from os.path import exists, join\n" \
|
||||
"# Fake redirection when we run the app without xcode\n" \
|
||||
"if 'CFLOG_FORCE_STDERR' not in environ:\n" \
|
||||
"# Fake redirection to supress console output\n" \
|
||||
"if environ.get('KIVY_NO_CONSOLE', '0') == '1':\n" \
|
||||
" class fakestd(object):\n" \
|
||||
" def write(self, *args, **kw): pass\n" \
|
||||
" def flush(self, *args, **kw): pass\n" \
|
||||
|
|
Loading…
Reference in a new issue