From de6b713b055cdef1dc811543fdedfebc1bc80fc3 Mon Sep 17 00:00:00 2001 From: Wan Liuyang Date: Fri, 24 Aug 2018 15:08:18 +0800 Subject: [PATCH] Force absolute import, fixes #314 --- github/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/__init__.py b/github/__init__.py index a0efde37..8475e734 100644 --- a/github/__init__.py +++ b/github/__init__.py @@ -39,7 +39,7 @@ All classes inherit from :class:`github.GithubObject.GithubObject`. import logging -from MainClass import Github, GithubIntegration +from github.MainClass import Github, GithubIntegration from GithubException import GithubException, BadCredentialsException, UnknownObjectException, BadUserAgentException, RateLimitExceededException, BadAttributeException, TwoFactorException from InputFileContent import InputFileContent from InputGitAuthor import InputGitAuthor