Merge pull request #981 from tswsl1989/pngit
It helps if we print the error message
This commit is contained in:
@@ -68,7 +68,7 @@ def main():
|
|||||||
|
|
||||||
all_images = glob(path)
|
all_images = glob(path)
|
||||||
if not all_images:
|
if not all_images:
|
||||||
"Error! No images found in this zoom level. Is this really an overviewer tile set directory?"
|
print "Error! No images found in this zoom level. Is this really an overviewer tile set directory?"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# autocrop will calculate the center and crop values automagically
|
# autocrop will calculate the center and crop values automagically
|
||||||
|
|||||||
Reference in New Issue
Block a user