From 3221c7ed6394a710d2c49aa159a97c9ecbe043c0 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sun, 16 Nov 2014 04:05:05 -0800 Subject: [PATCH] Fix #5 for github module not found issue --- SickBeard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SickBeard.py b/SickBeard.py index c3cfc965..d9d8b01b 100755 --- a/SickBeard.py +++ b/SickBeard.py @@ -54,7 +54,6 @@ import locale import datetime import threading import getopt -import github import sickbeard from sickbeard import db, logger, network_timezones, failed_history, name_cache @@ -63,6 +62,7 @@ from sickbeard.webserveInit import SRWebServer from sickbeard.databases.mainDB import MIN_DB_VERSION, MAX_DB_VERSION from sickbeard.event_queue import Events from lib.configobj import ConfigObj +from lib.github import Github throwaway = datetime.datetime.strptime('20110101', '%Y%m%d') @@ -75,7 +75,7 @@ class SickRage(object): sickbeard.events = Events(self.shutdown) # github api - sickbeard.gh = github.Github().get_organization(sickbeard.GIT_ORG).get_repo(sickbeard.GIT_REPO) # wanted branch + sickbeard.gh = Github().get_organization(sickbeard.GIT_ORG).get_repo(sickbeard.GIT_REPO) # wanted branch # daemon constants self.runAsDaemon = False