Skip to content

Commit

Permalink
Fixes a bug happening when send_request is called with parameters == …
Browse files Browse the repository at this point in the history
…None (see account_limits for instance)
  • Loading branch information
hbredin committed Oct 7, 2011
1 parent a9f3cf4 commit 9267dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion face_client/face_client.py
Expand Up @@ -340,7 +340,7 @@ def send_request(self, method=None, parameters=None):
data.update(parameters)

# Local file is provided, use multi-part form
if 'file' in parameters:
if parameters and 'file' in parameters:
from multipart import Multipart
form = Multipart()

Expand Down

0 comments on commit 9267dc6

Please sign in to comment.