Sfoglia il codice sorgente

Default to 0 for calculated fields

Zachary Kotlarek 11 anni fa
parent
commit
bdd3b2574f
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      yt/subscribe.pl

+ 3 - 3
yt/subscribe.pl

@@ -43,9 +43,9 @@ my %VIDEO_FIELDS  = (
 	'publishedAt' => '',
 	'channelId'   => '',
 	'rawDuration' => '',
-	'date',       => '',
-	'season'      => '',
-	'duration'    => '',
+	'date',       => 0,
+	'season'      => 0,
+	'duration'    => 0,
 );
 my %API = (