提升暴雨产图效率
This commit is contained in:
@@ -75,7 +75,7 @@ class TemplateModifier:
|
||||
tmp.close()
|
||||
|
||||
datasource_re = re.compile(r"(<datasource>)(.*?)(</datasource>)", re.DOTALL)
|
||||
table_re = re.compile(r'table="(\w+)"\."(\w+)"')
|
||||
table_re = re.compile(r'table=(?:"|")(\w+)(?:"|")\.(?:"|")(\w+)(?:"|")')
|
||||
|
||||
with zipfile.ZipFile(template_path, "r") as zin, \
|
||||
zipfile.ZipFile(tmp_path, "w", zipfile.ZIP_DEFLATED) as zout:
|
||||
|
||||
Reference in New Issue
Block a user