Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

interfaces/http.py: More reliable method of fixing url

  • Loading branch information...
commit 26dbf502e9a2fc11ef02a25814b6484c3ce7da13 1 parent 609574e
@srynot4sale authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  interfaces/http.py
View
2  interfaces/http.py
@@ -48,7 +48,7 @@ def do_GET(self):
if authentication != self.server.kernel.getConfig('secret'):
raise kernel.kernel.JarvisAuthException('Authentication failure')
- relative = self.path[1:]
+ relative = self.path.lstrip('/')
parts = relative.split('/')
function = parts[0]
Please sign in to comment.
Something went wrong with that request. Please try again.