added the timestamp thingye
This commit is contained in:
parent
3d14bbe477
commit
4d60c12d17
3 changed files with 148 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import re
|
||||
|
||||
time_regex = re.compile(r'(\d+)([smhd])') # Matches 4m2s, 1h30m, etc.
|
||||
# Define the time_regex that was missing
|
||||
time_regex = re.compile(r'(\d+)([smhd])')
|
||||
|
||||
def parse_time(time_str):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue