From 6797dc8a4f4425a9c5a17ea5d6e933cfcd61a5f5 Mon Sep 17 00:00:00 2001 From: sudosnok Date: Sun, 27 Mar 2022 14:55:52 +0100 Subject: [PATCH] Might've fixed imports? --- Github/http.py | 7 ++++--- Github/main.py | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Github/http.py b/Github/http.py index 7e4b953..caab1ae 100644 --- a/Github/http.py +++ b/Github/http.py @@ -7,9 +7,10 @@ from datetime import datetime from types import SimpleNamespace import re -from .exceptions import * -from .objects import * -from .urls import * + +from exceptions import * +from objects import * +from urls import * LINK_PARSING_RE = re.compile(r"<(\S+(\S))>; rel=\"(\S+)\"") Rates = namedtuple('Rates', ('remaining', 'used', 'total', 'reset_when', 'last_request')) diff --git a/Github/main.py b/Github/main.py index 48227e8..bff93ca 100644 --- a/Github/main.py +++ b/Github/main.py @@ -7,9 +7,9 @@ __all__ = ( from getpass import getpass import aiohttp -from . import http -from .exceptions import AlreadyStarted, NotStarted -from .objects import User, Repository +import http +from exceptions import AlreadyStarted, NotStarted +from objects import User, Repository class Github: _auth = None