Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9381 → Rev 9382

/_tools/lib/network.py
1,3 → 1,4
import os
import urllib.request
from .logging import log
 
6,4 → 7,7
urllib.request.urlretrieve(link, path)
log("Done.")
 
def download_if_not_exist(link, path):
if not os.path.exists(path):
download(link, path)