This commit is contained in:
Jakub Jezek 2022-05-24 12:59:33 +02:00
parent 5e7e6e3fdf
commit c0ee519dba
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 9 additions and 6 deletions

View file

@ -984,7 +984,8 @@ def get_sequence_pattern_and_padding(file):
return None, None
found = sorted(list(set(foundall[0])))[-1]
padding = int(re.findall(r"\d+", found)[-1]) if "%" in found else len(found)
padding = int(
re.findall(r"\d+", found)[-1]) if "%" in found else len(found)
return found, padding