summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-05-28 12:30:19 -0400
committerDonald Stufft <donald@stufft.io>2013-05-28 12:30:19 -0400
commitdc8d3b1616d4aa398c49887c59a3993cc639770f (patch)
tree7cf4e6a089b8c553462f9d4f568eca7af614e54b
parentc7fde666a59edc524032df058ad25a09df47f923 (diff)
downloaddecorator-dc8d3b1616d4aa398c49887c59a3993cc639770f.tar.gz
Better fix
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 722c4a1..4a44c67 100644
--- a/webui.py
+++ b/webui.py
@@ -1442,7 +1442,7 @@ class WebUI:
name = self.form.get('name', None)
# Try to locate the normalized name
found = self.store.find_package(name)
- if not found or found == name:
+ if not found or found[0] == name:
raise
realname = found[0]
url = "%s/%s" % (self.config.url, realname)