changed import calls and another bang

This commit is contained in:
Chris Pham
2018-02-08 14:44:20 -08:00
parent 345c75886d
commit 8b903d1299

View File

@@ -27,7 +27,7 @@ import os
import time import time
import PIL.ImageDraw import PIL.ImageDraw
import signing import signing
import MapHelper import RoverMapHelper as MapHelper
##################################### #####################################
# Constants # Constants
@@ -241,8 +241,7 @@ class GMapsStitcher(object):
""" """
new_value = self.upper_y - diff new_value = self.upper_y - diff
if !(new_value > 0 and if not new_value > 0 and (new_value < self.big_image.size[1] - self.height):
new_value < self.big_image.size[1] - self.height):
return self.upper_y return self.upper_y
else: else:
return new_value return new_value