Skip to content

Commit 12bd89f

Browse files
authored
Merge pull request #3 from fireeye/fix/submit-binary-file
Update README.md
2 parents 104462e + a1a4ea3 commit 12bd89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ detection = fireeyepy.Detection(key=api_key)
3838
```python
3939
response = detection.submit_file(
4040
files={
41-
"file": ('filename', open('./path/to/filename', 'r'))
41+
"file": ('filename', open('./path/to/filename', 'rb'))
4242
}
4343
)
4444
```

0 commit comments

Comments
 (0)