use cbr rate by default

This commit is contained in:
Dmitriy Pleshevskiy 2022-06-18 13:18:11 +03:00
parent 06e49d335e
commit d94b2dcfcd
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -24,7 +24,7 @@ curl_exchangerate () {
sed -e "s#<\/\?\w\+>##g"
}
cc=($(curl_exchangerate))
cc=($(curl_cbr))
diff=$(echo ${cc[-1]} ${cc[-2]} | awk '{ print $1 - $2 }')
arror="↑"