Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Jerrent committed Feb 27, 2019
1 parent fb8e4ea commit bfc2949
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compose_format/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def reorder(data, strict=True):
@staticmethod
def fix_sexadecimal_numbers(value):
import re

SEXADECIMAL_NUMBER = '(?P<left>\d+):(?P<right>\d+)'
match = re.match(SEXADECIMAL_NUMBER, value)
if not match or int(match.group('left')) > 60 or int(match.group('right')) > 60:
Expand Down

0 comments on commit bfc2949

Please sign in to comment.