minor fix
This commit is contained in:
@@ -308,11 +308,12 @@ def main():
|
|||||||
case hour if 6 <= hour < 12: hello = registry[0]
|
case hour if 6 <= hour < 12: hello = registry[0]
|
||||||
case hour if 12 <= hour < 18: hello = registry[1]
|
case hour if 12 <= hour < 18: hello = registry[1]
|
||||||
case hour if 18 <= hour < 21: hello = registry[2]
|
case hour if 18 <= hour < 21: hello = registry[2]
|
||||||
case _: hello = locale.get('default')
|
case _: hello = None
|
||||||
|
|
||||||
iframe = driver.switch_to.active_element
|
iframe = driver.switch_to.active_element
|
||||||
action = ActionChains(driver)
|
action = ActionChains(driver)
|
||||||
clean = False
|
clean = False
|
||||||
|
hello = hello or locale.get('default')
|
||||||
|
|
||||||
if name is not None and (name := str(name).strip()) and not contains_non_latin_alphabet(name):
|
if name is not None and (name := str(name).strip()) and not contains_non_latin_alphabet(name):
|
||||||
parts = HumanName(name)
|
parts = HumanName(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user