mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix path to requests library
This commit is contained in:
@@ -5,9 +5,10 @@ import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.abspath(os.path.join(__file__, '..', '..', '..',
|
||||
'vendor', 'requests', 'build',
|
||||
'lib')))
|
||||
REQUESTS_DIR = os.path.abspath(os.path.join(__file__, '..', '..', '..',
|
||||
'vendor', 'requests'))
|
||||
sys.path.append(os.path.join(REQUESTS_DIR, 'build', 'lib'))
|
||||
sys.path.append(os.path.join(REQUESTS_DIR, 'build', 'lib.linux-x86_64-2.7'))
|
||||
import requests
|
||||
|
||||
GITHUB_URL = 'https://api.github.com'
|
||||
|
||||
Reference in New Issue
Block a user