Skip to content

Commit f75eeb5

Browse files
Updated comments to reflect the correct type of IO buffer needed for submit_file()
1 parent c09665a commit f75eeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fireeyepy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def submit_file(self, file_name, contents, file_size_limit=32000000):
7979
8080
Keyword Arguments:
8181
file_name {string} -- The name of the file
82-
contents {io.TextIOWrapper} -- The contents of the file in binary
82+
contents {io.BufferedIOBase} -- The contents of the file in binary
8383
file_size_limit {integer} -- The number of bytes to send to the detection service from the beginning of the file. Files that are smaller than the limit will be sent in their entirety. Files that are larger than this limit will only have the first 'n' bytes sent. Default is 32 MB (32,000,000 bytes).
8484
8585
Returns:

0 commit comments

Comments
 (0)