chore: fix out_dir usage in upload-index-json.py

This commit is contained in:
Samuel Attard 2018-09-27 15:50:01 +10:00
parent 2adb44a402
commit 504581e308

View file

@ -5,12 +5,10 @@ import sys
import urllib2
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__)))
OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'D')
OUT_DIR = get_out_dir()
BASE_URL = 'https://electron-metadumper.herokuapp.com/?version='