mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 18:21:15 +00:00
changed import calls and another bang
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user