mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-07 11:18:56 +08:00
BUG: minor fix in Poloniex curate script
This commit is contained in:
1 parent
803823eac0
commit
79e5dec813
1 file changed
+3
-2
@@ -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