forked from orbit-oss/flask
Fix issue with wrapper logic
This commit is contained in:
parent
0cf5881312
commit
37217e85b8
1 changed files with 3 additions and 1 deletions
|
|
@ -89,4 +89,6 @@ def fix(ast):
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
input_file = sys.argv[1]
|
input_file = sys.argv[1]
|
||||||
fix(input_file)
|
ast = read_source(input_file)
|
||||||
|
ast = fix_imports(ast)
|
||||||
|
write_source(ast, input_file)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue