Skip to content

Commit 7968ebd

Browse files
author
Roman Kisel
committed
stream to dict fix
1 parent ea95713 commit 7968ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swig/tick_utils.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def stream_to_dict(db, stream, fields=None, ts_from=0, ts_to=JAVA_LONG_MAX_VALUE
1212
options.to = ts_to
1313
messages = []
1414
table = defaultdict(list)
15-
with open_TickCursor(stream, ts_from, options) as cursor:
15+
with stream.trySelect(ts_from, options, None, None) as cursor:
1616
counter = 0
1717
while cursor.next():
1818
message = vars(cursor.getMessage())

0 commit comments

Comments
 (0)