diff options
author | Rodney Ewing <ewing.rj@gmail.com> | 2013-08-14 16:25:44 -0700 |
---|---|---|
committer | Rodney Ewing <ewing.rj@gmail.com> | 2013-08-16 15:30:22 -0700 |
commit | 3225008f04e263c618186da881e3e01439578900 (patch) | |
tree | ab4a3f2d3b9cdb9103e8c3527f59e93eac933c15 /mediagoblin/gmg_commands/reprocess.py | |
parent | 63021eb6092d080178215ff3647469fee27d789b (diff) | |
download | mediagoblin-3225008f04e263c618186da881e3e01439578900.tar.lz mediagoblin-3225008f04e263c618186da881e3e01439578900.tar.xz mediagoblin-3225008f04e263c618186da881e3e01439578900.zip |
include a thumb_size string with each Resizer to run gmg reprocess thumbs
Diffstat (limited to 'mediagoblin/gmg_commands/reprocess.py')
-rw-r--r-- | mediagoblin/gmg_commands/reprocess.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/reprocess.py b/mediagoblin/gmg_commands/reprocess.py index 375d9ff2..e2f19ea3 100644 --- a/mediagoblin/gmg_commands/reprocess.py +++ b/mediagoblin/gmg_commands/reprocess.py @@ -245,8 +245,10 @@ def thumbs(args): # prepare filetype and size to be passed into reprocess_parser if args.size: - extra_args = 'thumb --size {0} {1}'.format(args.size[0], - args.size[1]) + extra_args = 'thumb --{0} {1} {2}'.format( + processor_class.thumb_size, + args.size[0], + args.size[1]) else: extra_args = 'thumb' |