diff --git a/schedview/app/scheduler_dashboard/unrestricted_scheduler_snapshot_dashboard.py b/schedview/app/scheduler_dashboard/unrestricted_scheduler_snapshot_dashboard.py index 0dc8a0b9..e023a7a1 100644 --- a/schedview/app/scheduler_dashboard/unrestricted_scheduler_snapshot_dashboard.py +++ b/schedview/app/scheduler_dashboard/unrestricted_scheduler_snapshot_dashboard.py @@ -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.