Skip to content

Commit d173678

Browse files
committed
fixed typo in is_open() py_dataset/dataset.py
1 parent 27a82d0 commit d173678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py_dataset/dataset.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def init(collection_name):
7474
'''initialize a dataset collection with the given name'''
7575
return libdataset.init_collection(c_char_p(collection_name.encode('utf8')))
7676

77-
def is_open(c_name):
77+
def is_open(collection_name):
7878
'''check to see if a collection is already opened.'''
7979
return libdataset.is_collection_open(c_char_p(collection_name.encode('utf8')))
8080

0 commit comments

Comments
 (0)