diff --git a/server.py b/server.py index ae007de..b12408d 100644 --- a/server.py +++ b/server.py @@ -2,18 +2,17 @@ import logging import uuid import tempfile import os -import flask_fs as fs from flask import Flask, abort, request, Response, send_file import pypandoc app = Flask(__name__) -fs.init_app(app) app.logger.setLevel(logging.INFO) @app.route('/') def index(): return 'Hello' + @app.route('/convert', methods=['POST']) def convert(): if 'input' not in request.files: