Skip to content

Commit 35a7d5f

Browse files
committed
Dont use bar exception
1 parent d278593 commit 35a7d5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lima/Server/plugins/Bpm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def GetPixelIntensity(self, coordinate):
234234
image = _control_ref().ReadImage()
235235
raw_image = image.buffer.copy()
236236
return int(raw_image[y][x])
237-
except:
237+
except Exception:
238238
return -1
239239

240240
def TakeBackground(self):

0 commit comments

Comments
 (0)