mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fix @version in Python 3.
This commit is contained in:
parent
ed193e7cc7
commit
b3009085aa
@ -310,7 +310,7 @@ class Misc(callbacks.Plugin):
|
|||||||
version = data['commit']['committer']['date']
|
version = data['commit']['committer']['date']
|
||||||
# Strip the last 'Z':
|
# Strip the last 'Z':
|
||||||
version = ''.join(version.rsplit('Z', 1))
|
version = ''.join(version.rsplit('Z', 1))
|
||||||
versions[branch] = version.encode('utf-8')
|
versions[branch] = version
|
||||||
newest = _('The newest versions available online are %s.') % \
|
newest = _('The newest versions available online are %s.') % \
|
||||||
', '.join([_('%s (in %s)') % (y,x)
|
', '.join([_('%s (in %s)') % (y,x)
|
||||||
for x,y in versions.items()])
|
for x,y in versions.items()])
|
||||||
|
Loading…
Reference in New Issue
Block a user