diff --git a/cv b/cv index 1e6d75f..eb6a258 100755 --- a/cv +++ b/cv @@ -28,7 +28,12 @@ get(){ } yget(){ date=$ydate - get "$1" + if [ -f "$data/$date-$country" ] + then + get "$1" + else + echo 0 + fi } out(){ w=10