[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-28 08:23:45 +03:00
parent 738eb60cfb
commit 09b500a424

@ -41,11 +41,12 @@ for o1, o2 in [
), ),
]: ]:
os.makedirs(os.path.split(o2)[0], exist_ok=True) os.makedirs(os.path.split(o2)[0], exist_ok=True)
gdown.download( if not os.path.exists(o2):
'https://drive.google.com/u/0/uc?export=download&confirm=f_Ix&id=%s' % o1, gdown.download(
o2, 'https://drive.google.com/u/0/uc?export=download&confirm=f_Ix&id=%s' % o1,
quiet=False o2,
) quiet=False
)
assert os.system(r''' assert os.system(r'''