chore: fix out_dir usage in upload-index-json.py
This commit is contained in:
parent
2adb44a402
commit
504581e308
1 changed files with 2 additions and 4 deletions
|
@ -5,12 +5,10 @@ import sys
|
||||||
import urllib2
|
import urllib2
|
||||||
|
|
||||||
from lib.config import s3_config
|
from lib.config import s3_config
|
||||||
from lib.util import s3put, scoped_cwd, safe_mkdir
|
from lib.util import s3put, scoped_cwd, safe_mkdir, get_out_dir
|
||||||
|
|
||||||
# TODO: Update this entire file to point at the correct file names in the out
|
|
||||||
# directory
|
|
||||||
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||||
OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'D')
|
OUT_DIR = get_out_dir()
|
||||||
|
|
||||||
BASE_URL = 'https://electron-metadumper.herokuapp.com/?version='
|
BASE_URL = 'https://electron-metadumper.herokuapp.com/?version='
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue