diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-30 21:54:18 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-30 21:54:18 -0500 |
commit | 1b89b817e5bfdc29aa266bdad056252f55e49a00 (patch) | |
tree | 7221f31ca38f12c0b71cad75ca3f303176872859 /mediagoblin/util.py | |
parent | 90870c07d409b1d6a4c3d16cc17df33b694e2f43 (diff) | |
download | mediagoblin-1b89b817e5bfdc29aa266bdad056252f55e49a00.tar.lz mediagoblin-1b89b817e5bfdc29aa266bdad056252f55e49a00.tar.xz mediagoblin-1b89b817e5bfdc29aa266bdad056252f55e49a00.zip |
Removing option to make tags lowercase
...that's basically handled by the slugification
Diffstat (limited to 'mediagoblin/util.py')
-rw-r--r-- | mediagoblin/util.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mediagoblin/util.py b/mediagoblin/util.py index bb9f6db4..5880f856 100644 --- a/mediagoblin/util.py +++ b/mediagoblin/util.py @@ -405,12 +405,8 @@ def convert_to_tag_list_of_dicts(tag_string): # Ignore empty or duplicate tags if tag.strip() and tag.strip() not in [t['name'] for t in taglist]: - if mg_globals.app_config['tags_case_sensitive']: - taglist.append({'name': tag.strip(), - 'slug': slugify(tag.strip())}) - else: - taglist.append({'name': tag.strip().lower(), - 'slug': slugify(tag.strip().lower())}) + taglist.append({'name': tag.strip(), + 'slug': slugify(tag.strip())}) return taglist |