diff --git a/app/barrabrasil.py b/app/barrabrasil.py index 73fcd88..03d716f 100644 --- a/app/barrabrasil.py +++ b/app/barrabrasil.py @@ -26,7 +26,7 @@ def pagina_teste(): @app.route('/barra.js') def barra(): - f = file('profile') + f = app.open_resource('profile') cfg = Config(f) profile = cfg.profile with app.open_resource('templates/%s/barra-brasil.js' % profile) as f: -- libgit2 0.21.2