mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 10:11:14 +00:00
remove bang
This commit is contained in:
@@ -230,7 +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 not 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