Permalink
Browse files

Fixed embarrassing syntax error

  • Loading branch information...
1 parent b11157c commit e960b2de3d11d9ac814769f4deb36d8873f6e333 @graylikeme graylikeme committed Oct 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 trombi/client.py
View
@@ -64,7 +64,7 @@ def from_uri(uri, fetch_args=None, io_loop=None, **kwargs):
if p.params or p.query or p.fragment:
raise ValueError(
'Invalid database address: %s (extra query params)' % uri)
- if not p.scheme in ('http', https'):
+ if not p.scheme in ('http', 'https'):
raise ValueError(
'Invalid database address: %s (only http:// and https:// are supported)' % uri)

0 comments on commit e960b2d

Please sign in to comment.