allow rendermap zoom < 1
This commit is contained in:
parent
dcdd16d37b
commit
e52a8df0dc
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ class Command(BaseCommand):
|
|||
except (ValueError, TypeError):
|
||||
raise argparse.ArgumentTypeError(_('Invalid zoom'))
|
||||
|
||||
if not (1 <= value <= 32):
|
||||
raise argparse.ArgumentTypeError(_('Zoom has to be between 1 and 32'))
|
||||
if not (0 < value <= 32):
|
||||
raise argparse.ArgumentTypeError(_('Zoom has to be between 0 and 32'))
|
||||
|
||||
return value
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue