Browse Source

Type bugfix

sisyphus
JezerM 3 years ago
parent
commit
d3e948df4b
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 4
      web-greeter/bridge/Config.py

4
web-greeter/bridge/Config.py

@ -36,11 +36,13 @@ import gi
gi.require_version('LightDM', '1') gi.require_version('LightDM', '1')
from gi.repository import LightDM from gi.repository import LightDM
from typing import List
from . import ( from . import (
layout_to_dict layout_to_dict
) )
def get_layouts(config_layouts: list[str]): def get_layouts(config_layouts: List[str]):
layouts = LightDM.get_layouts() layouts = LightDM.get_layouts()
final_layouts: list[LightDM.Layout] = [] final_layouts: list[LightDM.Layout] = []
for ldm_lay in layouts: for ldm_lay in layouts:

Loading…
Cancel
Save