From d3e948df4b32038ad50ecbb8797271a80a201f6f Mon Sep 17 00:00:00 2001 From: JezerM Date: Sat, 14 Aug 2021 20:07:00 -0600 Subject: [PATCH] Type bugfix --- web-greeter/bridge/Config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-greeter/bridge/Config.py b/web-greeter/bridge/Config.py index a6eb67d..a790cef 100644 --- a/web-greeter/bridge/Config.py +++ b/web-greeter/bridge/Config.py @@ -36,11 +36,13 @@ import gi gi.require_version('LightDM', '1') from gi.repository import LightDM +from typing import List + from . import ( layout_to_dict ) -def get_layouts(config_layouts: list[str]): +def get_layouts(config_layouts: List[str]): layouts = LightDM.get_layouts() final_layouts: list[LightDM.Layout] = [] for ldm_lay in layouts: