mirror of https://github.com/kivy/kivy.git
stylefixes
This commit is contained in:
parent
9c68e79665
commit
357e9a2afa
|
@ -34,4 +34,3 @@ class TestApp(App):
|
|||
|
||||
if __name__ == '__main__':
|
||||
TestApp().run()
|
||||
|
||||
|
|
|
@ -288,7 +288,8 @@ if 'KIVY_NO_CONSOLELOG' not in os.environ:
|
|||
Logger.addHandler(getattr(sys, '_kivy_logging_handler'))
|
||||
else:
|
||||
use_color = os.name != 'nt'
|
||||
color_fmt = formatter_message('[%(levelname)-18s] %(message)s', use_color)
|
||||
color_fmt = formatter_message(
|
||||
'[%(levelname)-18s] %(message)s', use_color)
|
||||
formatter = ColoredFormatter(color_fmt, use_color=use_color)
|
||||
console = ConsoleHandler()
|
||||
console.setFormatter(formatter)
|
||||
|
@ -299,4 +300,3 @@ sys.stderr = LogFile('stderr', Logger.warning)
|
|||
|
||||
#: Kivy history handler
|
||||
LoggerHistory = LoggerHistory
|
||||
|
||||
|
|
Loading…
Reference in New Issue