Update fw_downloads.py

This commit is contained in:
duffbeer2000 2020-02-03 14:27:06 +01:00
parent e69889ed8e
commit ec2bdcc273

View File

@ -11,6 +11,7 @@ except ImportError:
from urllib2 import urlopen
from urllib import urlretrieve
print(datetime.now(), ' - Downloadscript started')
f = urlopen("http://fw.ota.homesmart.ikea.net/feed/version_info.json")
data = f.read()
@ -68,3 +69,5 @@ for x in range(len(productlist)):
print(path)
else:
print('%s already exists' % fname)
print(datetime.now(), ' - Downloadscript ended')