chenjunkai пре 6 година
родитељ
комит
d17dd34020
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Controller/EquipmentOTA.py

+ 1 - 1
Controller/EquipmentOTA.py

@@ -200,7 +200,7 @@ class EquipmentVersionView(View):
             path = file_path.replace('static/Upgrade/', '').replace('\\', '/')
             path = file_path.replace('static/Upgrade/', '').replace('\\', '/')
             url = SERVER_DOMAIN + 'OTA/downloads/' + path + '?time=' + str(time.time())
             url = SERVER_DOMAIN + 'OTA/downloads/' + path + '?time=' + str(time.time())
         elif file_path.find('static/otapack') != -1:
         elif file_path.find('static/otapack') != -1:
-            #url = SERVER_DOMAIN + 'OTA/downloadsPack/' +file_path+ '?time=' + str(time.time())
+            url = SERVER_DOMAIN + 'OTA/downloadsPack/' +file_path+ '?time=' + str(time.time())
             # url = SERVER_DOMAIN + 'dl/otaPack/' + file_path + '?time=' + str(time.time())
             # url = SERVER_DOMAIN + 'dl/otaPack/' + file_path + '?time=' + str(time.time())
         else:
         else:
             return response.json(900, '2')
             return response.json(900, '2')