Commits

Gabriel Hege  committed 8acb8db

make compatible with Flask >= v0.8

  • Participants
  • Parent commits 8b99382

Comments (0)

Files changed (1)

File bin/jitviewer.py

     log, loops = import_log(filename, ParserWithHtmlRepr)
     parse_log_counts(extract_category(log, 'jit-backend-count'), loops)
     storage.reconnect_loops(loops)
-    app = OverrideFlask('__name__', root_path=PATH)
+    app = OverrideFlask(__name__, root_path=PATH)
     server = Server(filename, storage)
     app.debug = True
     app.route('/')(server.index)