Update some data types

This commit is contained in:
Mauricio Baeza 2021-01-03 20:59:46 -06:00
parent 433be8f75d
commit 5ec3986d92
1 changed files with 2 additions and 2 deletions

View File

@ -641,7 +641,7 @@ def stop_timer(name):
return
def install_locales(path, domain='base', dir_locales=DIR['locales']):
def install_locales(path: str, domain: str='base', dir_locales=DIR['locales']):
path_locales = _P.join(_P(path).path, dir_locales)
try:
lang = gettext.translation(domain, path_locales, languages=[LANG])
@ -702,7 +702,7 @@ def start():
return
def end(get_seconds=False):
def end(get_seconds: bool=False):
global _start
e = now()
td = e - _start