mirror of
https://github.com/danieldemus/deconz_fw_downloader.git
synced 2025-02-04 02:13:52 +01:00
Update fw_downloads.py
This commit is contained in:
parent
e69889ed8e
commit
ec2bdcc273
@ -11,6 +11,7 @@ except ImportError:
|
|||||||
from urllib2 import urlopen
|
from urllib2 import urlopen
|
||||||
from urllib import urlretrieve
|
from urllib import urlretrieve
|
||||||
|
|
||||||
|
print(datetime.now(), ' - Downloadscript started')
|
||||||
|
|
||||||
f = urlopen("http://fw.ota.homesmart.ikea.net/feed/version_info.json")
|
f = urlopen("http://fw.ota.homesmart.ikea.net/feed/version_info.json")
|
||||||
data = f.read()
|
data = f.read()
|
||||||
@ -68,3 +69,5 @@ for x in range(len(productlist)):
|
|||||||
print(path)
|
print(path)
|
||||||
else:
|
else:
|
||||||
print('%s already exists' % fname)
|
print('%s already exists' % fname)
|
||||||
|
|
||||||
|
print(datetime.now(), ' - Downloadscript ended')
|
Loading…
Reference in New Issue
Block a user