range fixes
This commit is contained in:
parent
6d4a21dd44
commit
6b8ed5408e
@ -97,7 +97,7 @@ function get_asset {
|
||||
if ! get_range ${f_ASSET_HIST_FILE}
|
||||
then
|
||||
local f_oldrange=$(tail -n2 ${f_ASSET_HIST_FILE} | head -n1 | cut -d, -f24,25,26,27,28,29,30,31,32,33,34,35)
|
||||
g_echo_note "Taking old range ${f_oldrange}"
|
||||
#g_echo_note "Taking old range ${f_oldrange}"
|
||||
echo -n ",${f_oldrange}" >>$f_ASSET_HIST_FILE
|
||||
fi
|
||||
|
||||
|
@ -19,7 +19,7 @@ function get_range {
|
||||
then
|
||||
if echo "${f_range_day}" | grep -q "${f_last_range_day}"
|
||||
then
|
||||
g_echo_note "${FUNCNAME} $@: No new range"
|
||||
#g_echo_note "${FUNCNAME} $@: No new range"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user