tweak algo-log format to be more similar to that from mph_switch

This commit is contained in:
2017-09-02 13:16:57 -07:00
parent 818fa062ab
commit 3f3f15cb52

View File

@@ -83,7 +83,7 @@ if (current==0):
if (current==0):
# log a change
algo_log=open("algo-log", "a")
algo_log.write(str(datetime.datetime.now())+": "+max_profit_algo+" (*) "+format(max_profit_val, ".8f")+" "+format(max_profit_val*exchrate, ".2f")+"\n")
algo_log.write(str(datetime.datetime.now())+": * ("+max_profit_algo+") "+format(max_profit_val, ".8f")+" "+format(max_profit_val*exchrate, ".2f")+"\n")
algo_log.close()
if (other==1):
# kill existing miners