diff --git a/README.md b/README.md index 3f41db7..b68fb9b 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ client = FirstCrowdinClient() file_name = '__path_to_the_file__' -storage = client.storages.add_storage(open(file_name)) +storage = client.storages.add_storage(open(file_name, 'rb')) my_file = client.source_files.add_file(__project_id__, storage['data']['id'], file_name)