fixed missing raw string decorator

This commit is contained in:
Jenny Danzmayr 2019-04-07 18:01:07 +02:00
parent 2a7f53c7e9
commit c6e5b16570

View file

@ -60,7 +60,7 @@ class Command(BaseCommand):
numbers = []
while True:
match = re.match('^-?[0-9]+(\.[0-9]+)?(e-?[0-9]+)?', data)
match = re.match(r'^-?[0-9]+(\.[0-9]+)?(e-?[0-9]+)?', data)
if match is None:
break
numbers.append(float(match.group(0)))