mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 14:20:48 +08:00
BUG: minor fix in Poloniex curate script
This commit is contained in:
committed by
lacabra
parent
803823eac0
commit
79e5dec813
@@ -181,8 +181,9 @@ class PoloniexCurator(object):
|
||||
our existing TradeHistory until the first transaction
|
||||
for this currencyPair
|
||||
'''
|
||||
try:
|
||||
if( 'end_file' in locals() and end_file + 3600 < end):
|
||||
try:
|
||||
if(temp is not None
|
||||
or ('end_file' in locals() and end_file + 3600 < end)):
|
||||
if (temp is None):
|
||||
temp = os.tmpfile()
|
||||
tempcsv = csv.writer(temp)
|
||||
|
||||
Reference in New Issue
Block a user