Desarrollo 4 yıl önce
ebeveyn
işleme
7e8331c118
2 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. 3 0
      ondemand/service.py
  2. 2 2
      requirements.txt

+ 3 - 0
ondemand/service.py

@@ -210,7 +210,10 @@ def process_segment(item, audios=None, calibration=None):
     #    y calcular su fingerprint.
     try:
         filenames = []
+        x = 0
         for i in item["elementos"]:
+            x = x + 1
+            log.info('[process_segment] {} downloading ad {}'.format(x, i["anuncio"]))
             filename, md5hash = cloud_download(ad_key=i["anuncio"])
             if filename:
                 filenames.append((filename, md5hash))

+ 2 - 2
requirements.txt

@@ -1,5 +1,5 @@
-tornado
+tornado==5.1.1
 firebase_admin
 python-firebase
 requests
-mutagen
+mutagen