Skip to content

Commit d5c41f7

Browse files
author
Julien
committed
Replace == by is to avoid FutureWarning
1 parent cf6bb5b commit d5c41f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/build
33
/dist
44
/doc/build
5+
__pycache__

pydc1394/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __array_finalize__(self, img):
8686
8787
If called with an image object, inherit the properties of that image.
8888
"""
89-
if img == None:
89+
if img is None:
9090
return
9191
# do not inherit _frame and _cam since we also get called on copy()
9292
# and should not hold references to the frame in this case

0 commit comments

Comments
 (0)