metadata: fix est time parsing for Simplify3D

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-08-07 11:41:12 -04:00
parent 5522e150b7
commit 5204fe3e08
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ class Simplify3D(BaseSlicer):
return None
total_time = 0
time_group = time_match.group()
time_patterns = [(r"(\d+)\shours", 60*60), (r"(\d+)\smin", 60),
time_patterns = [(r"(\d+)\shours?", 60*60), (r"(\d+)\smin", 60),
(r"(\d+)\ssec", 1)]
try:
for pattern, multiplier in time_patterns: