Skip to content

Commit ea26274

Browse files
authored
Update utils.py
1 parent 7f38e64 commit ea26274

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pythonforandroid/recipes/android/src/android

pythonforandroid/recipes/android/src/android/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def update_system_ui(
3737
try:
3838
WindowCompat = autoclass("androidx.core.view.WindowCompat")
3939
inset_controller = WindowCompat.getInsetsController(window, decor_view)
40-
except:
40+
except Exception:
4141
inset_controller = None
4242

4343
def parse_color(value):

0 commit comments

Comments
 (0)