mirror of https://github.com/coqui-ai/TTS.git
fix(utils.generic_utils): correctly call now()
This commit is contained in:
parent
77722cb0dd
commit
29e91f2e77
TTS/utils
|
@ -126,7 +126,7 @@ def format_aux_input(def_args: Dict, kwargs: Dict) -> Dict:
|
||||||
|
|
||||||
|
|
||||||
def get_timestamp() -> str:
|
def get_timestamp() -> str:
|
||||||
return datetime.now().strftime("%y%m%d-%H%M%S")
|
return datetime.datetime.now().strftime("%y%m%d-%H%M%S")
|
||||||
|
|
||||||
|
|
||||||
class ConsoleFormatter(logging.Formatter):
|
class ConsoleFormatter(logging.Formatter):
|
||||||
|
|
Loading…
Reference in New Issue