Commit 4ea21038 authored by Ievgen Vovk's avatar Ievgen Vovk
Browse files

One more regexp fix.

parent 69ef5df6
...@@ -118,7 +118,7 @@ class MAGICEventSource(EventSource): ...@@ -118,7 +118,7 @@ class MAGICEventSource(EventSource):
pass pass
except ImportError: except ImportError:
if re.match('.+_m\d_.+root', file_path.lower()) is None: if re.match(r'.+_m\d_.+root', file_path.lower()) is None:
is_magic_root_file = False is_magic_root_file = False
return is_magic_root_file return is_magic_root_file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment