Add "%X" template variable for uppercase filename extension.

This commit is contained in:
Frederik "Freso" S. Olesen
2013-02-01 17:33:19 +01:00
parent d17e528106
commit 4040c95817
2 changed files with 3 additions and 3 deletions

View File

@@ -175,6 +175,7 @@ class Program(log.Loggable):
v['r'] = 'unknown'
v['R'] = 'Unknown'
v['x'] = profile and profile.extension or 'unknown'
v['X'] = v['x'].upper()
v['a'] = v['A']
if i == 0: