mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
invalid escape sequence
This commit is contained in:
@@ -206,7 +206,7 @@ def log_internal_cpp_errors(filename, logger):
|
|||||||
import re
|
import re
|
||||||
import bisect
|
import bisect
|
||||||
|
|
||||||
chr_offset_re = re.compile("at offset (\d+)\s*")
|
chr_offset_re = re.compile(r"at offset (\d+)\s*")
|
||||||
|
|
||||||
log = ifcopenshell.get_log()
|
log = ifcopenshell.get_log()
|
||||||
msgs = list(map(json.loads, filter(None, log.split("\n"))))
|
msgs = list(map(json.loads, filter(None, log.split("\n"))))
|
||||||
|
|||||||
Reference in New Issue
Block a user