Skip to content
Snippets Groups Projects
Commit dd7bda75 authored by Swen Vermeul's avatar Swen Vermeul
Browse files

regular expression bugfix (search instead of match...)

parent ba29d385
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ def format_timestamp(ts): ...@@ -110,7 +110,7 @@ def format_timestamp(ts):
def is_identifier(ident): def is_identifier(ident):
# assume we got a sample identifier e.g. /TEST/TEST-SAMPLE # assume we got a sample identifier e.g. /TEST/TEST-SAMPLE
match = re.match('/', ident) match = re.search('/', ident)
if match: if match:
return True return True
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment