Skip to content

Commit

Permalink
use is instead of == to check type
Browse files Browse the repository at this point in the history
  • Loading branch information
emanehab99 committed Sep 19, 2024
1 parent fa582b9 commit a05678b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _update_scheduler_fname(self):
return

# Current fix for _conditions.mjd having different datatypes.
if type(self._conditions._mjd) == np.ndarray:
if type(self._conditions._mjd) is np.ndarray:
self._conditions._mjd = self._conditions._mjd[0]

# Get mjd from pickle and set widget and URL to match.
Expand Down

0 comments on commit a05678b

Please sign in to comment.