Spaces:
Runtime error
Runtime error
Commit
·
29f3438
1
Parent(s):
d213f67
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ if __name__ == "__main__":
|
|
| 90 |
with open(config['config-path'], "w") as outfile:
|
| 91 |
config['buildVersion'] = VERSION
|
| 92 |
json.dump(config, outfile)
|
| 93 |
-
with open(config['openapi-yaml-path'], "r+
|
| 94 |
info = outfile.read()
|
| 95 |
outfile.seek(0)
|
| 96 |
outfile.write(info.replace('$VERSION_VARIABLE$', VERSION))
|
|
|
|
| 90 |
with open(config['config-path'], "w") as outfile:
|
| 91 |
config['buildVersion'] = VERSION
|
| 92 |
json.dump(config, outfile)
|
| 93 |
+
with open(config['openapi-yaml-path'], "r+") as outfile:
|
| 94 |
info = outfile.read()
|
| 95 |
outfile.seek(0)
|
| 96 |
outfile.write(info.replace('$VERSION_VARIABLE$', VERSION))
|