Merge pull request #2306 from leonelcamara/patch-33

Fix for undefined regex_tables
This commit is contained in:
mdipierro
2020-04-15 21:11:11 -07:00
committed by GitHub
+1 -1
View File
@@ -1261,7 +1261,7 @@ def plugin():
defines = {}
for m in models:
data = safe_read(apath('%s/models/%s' % (app, m), r=request))
defines[m] = regex_tables.findall(data)
defines[m] = re.findall(REGEX_DEFINE_TABLE, data, re.MULTILINE)
defines[m].sort()
# Get all controllers