From 8a2a8ce05fd23567efc411ee187a0ca8a7d27839 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg <grin@lbry.io> Date: Wed, 24 May 2017 14:45:41 -0400 Subject: [PATCH] doesnt need to be a global --- build/upload_assets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/upload_assets.py b/build/upload_assets.py index 9a1ae67a7..ea45d5c09 100644 --- a/build/upload_assets.py +++ b/build/upload_assets.py @@ -8,8 +8,6 @@ import github import uritemplate import boto3 -this_dir = os.path.dirname(os.path.realpath(__file__)) - def main(): upload_to_github_if_tagged('lbryio/lbry') @@ -17,6 +15,7 @@ def main(): def get_asset_filename(): + this_dir = os.path.dirname(os.path.realpath(__file__)) return glob.glob(this_dir + '/dist/*.zip')[0]