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