mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 10:11:14 +00:00
changed import calls and another bang
This commit is contained in:
@@ -27,7 +27,7 @@ import os
|
||||
import time
|
||||
import PIL.ImageDraw
|
||||
import signing
|
||||
import MapHelper
|
||||
import RoverMapHelper as MapHelper
|
||||
|
||||
#####################################
|
||||
# Constants
|
||||
@@ -241,8 +241,7 @@ class GMapsStitcher(object):
|
||||
"""
|
||||
new_value = self.upper_y - diff
|
||||
|
||||
if !(new_value > 0 and
|
||||
new_value < self.big_image.size[1] - self.height):
|
||||
if not new_value > 0 and (new_value < self.big_image.size[1] - self.height):
|
||||
return self.upper_y
|
||||
else:
|
||||
return new_value
|
||||
|
||||
Reference in New Issue
Block a user