mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix #3 for github module not found issue
This commit is contained in:
parent
5d46d267b6
commit
50dd3a531d
@ -23,15 +23,13 @@ import datetime
|
||||
import socket
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import os.path
|
||||
|
||||
import github
|
||||
|
||||
from threading import Lock
|
||||
|
||||
# apparently py2exe won't build these unless they're imported somewhere
|
||||
import sys
|
||||
import os.path
|
||||
sys.path.append(os.path.abspath('../lib'))
|
||||
|
||||
from github import Github
|
||||
from sickbeard import providers, metadata, config, webserveInit
|
||||
from sickbeard.providers.generic import GenericProvider
|
||||
from providers import ezrss, tvtorrents, btn, newznab, womble, thepiratebay, torrentleech, kat, iptorrents, \
|
||||
@ -544,7 +542,7 @@ def initialize(consoleLogging=True):
|
||||
CheckSection(CFG, 'Subtitles')
|
||||
|
||||
# github api
|
||||
gh = Github().get_organization(GIT_ORG).get_repo(GIT_REPO)
|
||||
gh = github.Github().get_organization(GIT_ORG).get_repo(GIT_REPO)
|
||||
|
||||
# wanted branch
|
||||
BRANCH = check_setting_str(CFG, 'General', 'branch', '')
|
||||
|
Loading…
Reference in New Issue
Block a user