forked from orbit-oss/flask
Remove hardcoded 'foo'
This commit is contained in:
parent
4cb311b945
commit
77ed466101
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ def fix_function_calls(red):
|
|||
try:
|
||||
if (node.value[0].value == 'flask' and
|
||||
node.value[1].value == 'ext'):
|
||||
node.replace("flask_foo%s" % node.value[3])
|
||||
node.replace("flask_%s%s" % (node.value[3], node.value[3]))
|
||||
except IndexError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue