Removed relative imports

Since the oauth module isn't just in a plugin anymore, there is no need for any of the relative imports

CURA-5744
This commit is contained in:
Jaime van Kessel 2018-09-21 12:02:11 +02:00
parent 3830fa0fd9
commit 3ae223334f
5 changed files with 11 additions and 14 deletions

View file

@ -5,9 +5,8 @@ from typing import Optional, Callable
from http.server import BaseHTTPRequestHandler
from urllib.parse import parse_qs, urlparse
# Plugin imports need to be relative to work in final builds.
from .AuthorizationHelpers import AuthorizationHelpers
from .models import AuthenticationResponse, ResponseData, HTTP_STATUS, ResponseStatus
from cura.OAuth2.AuthorizationHelpers import AuthorizationHelpers
from cura.OAuth2.Models import AuthenticationResponse, ResponseData, HTTP_STATUS, ResponseStatus
class AuthorizationRequestHandler(BaseHTTPRequestHandler):