diff --git a/server_side/api/app.py b/server_side/api/app.py index 8af748f..8c32dd7 100644 --- a/server_side/api/app.py +++ b/server_side/api/app.py @@ -1,4 +1,4 @@ -from flask import Flask +from flask import Flask, send_from_directory from flask_restful import Resource, Api from voting_system import voting_system diff --git a/server_side/api/rating_system/rating_system.py b/server_side/api/rating_system/rating_system.py index 7f2a966..da7966b 100644 --- a/server_side/api/rating_system/rating_system.py +++ b/server_side/api/rating_system/rating_system.py @@ -2,7 +2,7 @@ import os import json from flask import Flask, request -from flask_restful import Resource, Api +from flask_restful import Resource, Api, abort app = Flask(__name__) api = Api(app)