diff options
author | Donald Stufft <donald@stufft.io> | 2013-05-28 12:30:19 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2013-05-28 12:30:19 -0400 |
commit | dc8d3b1616d4aa398c49887c59a3993cc639770f (patch) | |
tree | 7cf4e6a089b8c553462f9d4f568eca7af614e54b | |
parent | c7fde666a59edc524032df058ad25a09df47f923 (diff) | |
download | decorator-dc8d3b1616d4aa398c49887c59a3993cc639770f.tar.gz |
Better fix
-rw-r--r-- | webui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |