Update fw_downloads.py

This commit is contained in:
duffbeer2000
2020-02-03 14:38:40 +01:00
parent 7ac554fcb6
commit f383142aa7
+2 -2
View File
@@ -13,7 +13,7 @@ except ImportError:
from urllib import urlretrieve
now = datetime.datetime.now()
print "%d - Downloadscript started" % now.strftime("%Y-%m-%d %H:%M")
print ('%d - Downloadscript started' % now.strftime("%Y-%m-%d %H:%M"))
f = urlopen("http://fw.ota.homesmart.ikea.net/feed/version_info.json")
data = f.read()
@@ -72,4 +72,4 @@ for x in range(len(productlist)):
else:
print('%s already exists' % fname)
print "%d - Downloadscript stopped" % now.strftime("%Y-%m-%d %H:%M")
print ('%d - Downloadscript stopped' % now.strftime("%Y-%m-%d %H:%M"))