Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix that passes the unit test

  • Loading branch information...
commit 04ab766fd88f5848c5f48c74834ed0351013f4e3 1 parent aad1dc6
Fluidinfo developers - ntoll authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 fluiddb.py
4 fluiddb.py
View
@@ -81,6 +81,10 @@ def call(method, path, body=None, mime=None, tags=[], custom_headers={}, **kw):
headers = global_headers.copy()
if custom_headers:
headers.update(custom_headers)
+ # make sure the path is a string for the following elif check for PUT
+ # based requests
+ if isinstance(path, list):
+ path = '/'+'/'.join(path)
# Make sure the correct content-type header is sent
if isinstance(body, dict):
# jsonify dicts
Please sign in to comment.
Something went wrong with that request. Please try again.