mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-09 10:41:15 +00:00
Added parenthesis
This commit is contained in:
@@ -230,8 +230,7 @@ class GMapsStitcher(object):
|
|||||||
"""
|
"""
|
||||||
new_value = self.left_x - diff
|
new_value = self.left_x - diff
|
||||||
|
|
||||||
if !(new_value > 0 and
|
if !((new_value > 0) and (new_value < self.big_image.size[0] - self.width)):
|
||||||
(new_value < self.big_image.size[0] - self.width)):
|
|
||||||
return self.left_x
|
return self.left_x
|
||||||
else:
|
else:
|
||||||
return new_value
|
return new_value
|
||||||
|
|||||||
Reference in New Issue
Block a user