Verified Commit 08474fac authored by Peter Stanko's avatar Peter Stanko
Browse files

Fixed import error

parent f00deeac
Pipeline #31648 failed with stage
in 7 minutes and 23 seconds
......@@ -5,7 +5,6 @@ import is_api
import is_api.entities
from flask import Flask
from portal.service import errors
from portal.database import Course, Project, User
......@@ -23,6 +22,7 @@ class IsApiWrapper:
if fac_id is None and faculty_id is not None:
fac_id = int(faculty_id)
except Exception as ex:
from portal.service import errors
raise errors.PortalServiceError(f"Unable to extract faculty_id: {ex}")
self._api = is_api.IsApiClient(domain=domain,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment