From 6dfbdb1e61ea3200ac90ecd004b3bbe0588c0f44 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Mon, 30 Aug 2021 09:48:55 +0300 Subject: [PATCH] refactoring --- scripts/linux-install.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/linux-install.py b/scripts/linux-install.py index f24b6420..fd0a193b 100755 --- a/scripts/linux-install.py +++ b/scripts/linux-install.py @@ -13,7 +13,6 @@ import os import os.path import subprocess -from subprocess import check_call def main(): @@ -36,10 +35,11 @@ def main(): if not os.path.exists(cardsets_dir): arc = cardsets_dir + ".tar.gz" if not os.path.exists(arc): - check_call([ + subprocess.check_call([ "wget", "https://github.com/shlomif/" + - "PySolFC-Cardsets/archive/2.0/" + arc]) + "PySolFC-Cardsets/archive/2.0/" + arc + ]) subprocess.check_call(["tar", "-xvf", arc]) os.symlink(os.getcwd() + "/" + cardsets_dir, dot_pysol_cardsets, )