fix
This commit is contained in:
parent
c3e0060347
commit
f69d75b1b7
@ -64,7 +64,7 @@ function get_marketdata_coinmarketcap {
|
||||
|
||||
local f_id
|
||||
# get id -> If multiple take the one with the largest marketcap
|
||||
f_id=$(egrep "^${f_item},[1-9]" COINMARKETCAPIDS COINMARKETCAPIDS.tmp | sort -n -t, -k4 | tail -n1 | cut -d, -f2)
|
||||
f_id=$(egrep "^${f_item},[1-9]" COINMARKETCAPIDS COINMARKETCAPIDS.tmp 2>/dev/null | sort -n -t, -k4 | tail -n1 | cut -d, -f2)
|
||||
[[ $f_item = EURC ]] && f_id=20641
|
||||
if [ -z "$f_id" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user