Ignore:
Timestamp:
Apr 19, 2020, 6:22:10 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
042a469
Parents:
5b0a862
Message:

Fixed definitions for template and openapi-spec folders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buildhelpers/codegen/templates/__main__.mustache

    r5b0a862 r09cab2c  
    1313
    1414def main():
    15         setup_app('{{appName}}', config_object, template_folder = os.path.join(os.path.dirname(__file__), 'templates'))
    16         app.run(host=application.config.get("HOST", "localhost"), port=application.config.get("PORT", {{serverPort}}))
     15    template_folder = os.path.join(os.path.dirname(__file__), 'templates')
     16    setup_app('{{appName}}', config_object, template_folder = template_folder)
     17    app.run(host=application.config.get("HOST", "localhost"), port=application.config.get("PORT", {{serverPort}}))
    1718
    1819if __name__ == '__main__':
    19         main()
     20    main()
Note: See TracChangeset for help on using the changeset viewer.