mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix #2 for github module not found issue
This commit is contained in:
parent
4d41d881eb
commit
5d46d267b6
@ -56,7 +56,7 @@ import threading
|
|||||||
import getopt
|
import getopt
|
||||||
|
|
||||||
import sickbeard
|
import sickbeard
|
||||||
from sickbeard import db, logger, network_timezones, failed_history, name_cache, versionChecker
|
from sickbeard import db, logger, network_timezones, failed_history, name_cache
|
||||||
from sickbeard.tv import TVShow
|
from sickbeard.tv import TVShow
|
||||||
from sickbeard.webserveInit import SRWebServer
|
from sickbeard.webserveInit import SRWebServer
|
||||||
from sickbeard.databases.mainDB import MIN_DB_VERSION, MAX_DB_VERSION
|
from sickbeard.databases.mainDB import MIN_DB_VERSION, MAX_DB_VERSION
|
||||||
|
@ -543,6 +543,9 @@ def initialize(consoleLogging=True):
|
|||||||
CheckSection(CFG, 'Pushbullet')
|
CheckSection(CFG, 'Pushbullet')
|
||||||
CheckSection(CFG, 'Subtitles')
|
CheckSection(CFG, 'Subtitles')
|
||||||
|
|
||||||
|
# github api
|
||||||
|
gh = Github().get_organization(GIT_ORG).get_repo(GIT_REPO)
|
||||||
|
|
||||||
# wanted branch
|
# wanted branch
|
||||||
BRANCH = check_setting_str(CFG, 'General', 'branch', '')
|
BRANCH = check_setting_str(CFG, 'General', 'branch', '')
|
||||||
|
|
||||||
@ -1113,9 +1116,6 @@ def initialize(consoleLogging=True):
|
|||||||
tmp_provider.set_config(cur_metadata_config)
|
tmp_provider.set_config(cur_metadata_config)
|
||||||
metadata_provider_dict[tmp_provider.name] = tmp_provider
|
metadata_provider_dict[tmp_provider.name] = tmp_provider
|
||||||
|
|
||||||
# github
|
|
||||||
gh = Github().get_organization(GIT_ORG).get_repo(GIT_REPO)
|
|
||||||
|
|
||||||
# initialize schedulers
|
# initialize schedulers
|
||||||
# updaters
|
# updaters
|
||||||
update_now = datetime.timedelta(minutes=0)
|
update_now = datetime.timedelta(minutes=0)
|
||||||
|
Loading…
Reference in New Issue
Block a user