From 75aa581e4b627a3b2b84c3abad73875d38a315f9 Mon Sep 17 00:00:00 2001 From: dessant Date: Wed, 23 Sep 2015 03:33:06 +0300 Subject: [PATCH] pep8 --- kivy/metrics.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kivy/metrics.py b/kivy/metrics.py index a47246728..6f6e28136 100644 --- a/kivy/metrics.py +++ b/kivy/metrics.py @@ -225,10 +225,9 @@ class MetricsBase(object): from jnius import autoclass if USE_SDL2: PythonActivity = autoclass('org.kivy.android.PythonActivity') - config = PythonActivity.mActivity.getResources().getConfiguration() else: PythonActivity = autoclass('org.renpy.android.PythonActivity') - config = PythonActivity.mActivity.getResources().getConfiguration() + config = PythonActivity.mActivity.getResources().getConfiguration() return config.fontScale return 1.0