Skip to content

Commit 29e91f2

Browse files
committed
fix(utils.generic_utils): correctly call now()
1 parent 77722cb commit 29e91f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TTS/utils/generic_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def format_aux_input(def_args: Dict, kwargs: Dict) -> Dict:
126126

127127

128128
def get_timestamp() -> str:
129-
return datetime.now().strftime("%y%m%d-%H%M%S")
129+
return datetime.datetime.now().strftime("%y%m%d-%H%M%S")
130130

131131

132132
class ConsoleFormatter(logging.Formatter):

0 commit comments

Comments
 (0)