Merge pull request #2306 from leonelcamara/patch-33

Fix for undefined regex_tables
This commit is contained in:
mdipierro authored and GitHub committed 2020-04-15 21:11:11 -07:00
commit 987263c028
1 file changed
+1 -1
+1 -1
View File
@@ -1261,7 +1261,7 @@ def plugin():
defines = {} defines = {}
for m in models: for m in models:
data = safe_read(apath('%s/models/%s' % (app, m), r=request)) 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() defines[m].sort()
# Get all controllers # Get all controllers