mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-01 12:01:05 +08:00
BUG: minor fix in Poloniex curate script
This commit is contained in:
1 parent
dcefca6038
commit
ff1df11384
1 file changed
+2
-1
@@ -193,7 +193,8 @@ class PoloniexCurator(object):
|
||||
for this currencyPair
|
||||
'''
|
||||
try:
|
||||
if('end_file' in locals() and end_file + 3600 < end):
|
||||
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