From 7e4824a01d38414986dc145ba251752468067e28 Mon Sep 17 00:00:00 2001 From: Adam Gschwender Date: Tue, 30 May 2017 15:06:26 -0400 Subject: [PATCH] Allow degree=auto for image command line --- pilbox/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilbox/image.py b/pilbox/image.py index 6c86edc..f4ae69c 100644 --- a/pilbox/image.py +++ b/pilbox/image.py @@ -465,7 +465,7 @@ def main(): metavar="|".join(Image.POSITIONS), type=str) define("filter", help="default filter to use when resizing", metavar="|".join(Image.FILTERS), type=str) - define("degree", help="the desired rotation degree", type=int) + define("degree", help="the desired rotation degree", type=str) define("expand", help="expand image size to accomodate rotation", type=int) define("rect", help="rectangle: x,y,w,h", type=str) define("format", help="default format to use when saving",