Allow password tag in returned release dict

This commit is contained in:
Ruud
2014-03-21 18:25:36 +01:00
parent 25b1d86c50
commit 334078fc34
+2
View File
@@ -326,6 +326,8 @@ class Plugin(object):
if name_password:
release_name, password = name_password
tag += '{{%s}}' % password
elif data.get('password'):
tag += '{{%s}}' % data.get('password')
max_length = 127 - len(tag) # Some filesystems don't support 128+ long filenames
return '%s%s' % (toSafeString(toUnicode(release_name)[:max_length]), tag)