🧑💻 minor variable change
This commit is contained in:
@@ -19,7 +19,7 @@ parser.add_argument(
|
||||
)
|
||||
parser.add_argument("-i","--ignore-temp", action="store_true", help="[requires -a] do not delete alt tmp")
|
||||
parser.add_argument(
|
||||
"-f", "--format", type=str, default="png", help="use output custom img format"
|
||||
"-f", "--img-format", type=str, default="png", help="use output custom img format"
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
@@ -28,7 +28,7 @@ dest = args.destination
|
||||
verbose = args.verbose
|
||||
alt_temp = args.alt_temp
|
||||
ignore_temp = args.ignore_temp
|
||||
format = args.format
|
||||
img_format = args.img_format
|
||||
|
||||
if verbose:
|
||||
logging.basicConfig(level=logging.DEBUG, format="[%(levelname)s] - %(message)s")
|
||||
|
||||
Reference in New Issue
Block a user