diff --git a/module/os_handler/storage.py b/module/os_handler/storage.py index a8546395f..5a049c459 100644 --- a/module/os_handler/storage.py +++ b/module/os_handler/storage.py @@ -216,7 +216,7 @@ class StorageHandler(GlobeOperation, ZoneManager): self.device.screenshot() # End - if TEMPLATE_STORAGE_SHIP_SELECTED.match(self.image_crop(crop_area, copy=False)): + if TEMPLATE_STORAGE_SHIP_SELECTED.match(self.image_crop(crop_area, copy=False), similarity=0.78): logger.info('Storage Ship Selected') self.interval_clear(STORAGE_FLEET_CHOOSE) return True @@ -250,7 +250,7 @@ class StorageHandler(GlobeOperation, ZoneManager): # End if self.appear(STORAGE_REPAIR_CONFIRM, offset=(20, 20)) and \ - not TEMPLATE_STORAGE_SHIP_SELECTED.match(self.image_crop(crop_area, copy=False)): + not TEMPLATE_STORAGE_SHIP_SELECTED.match(self.image_crop(crop_area, copy=False), similarity=0.78): logger.info('Ship Fixed') break if self.handle_popup_cancel('STORAGE_REPAIR_FULL_CANCEL'):