Skip to content

Commit 128bb9e

Browse files
authored
Update satpy/readers/netcdf_utils.py
1 parent 6682334 commit 128bb9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

satpy/readers/netcdf_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ def _collect_global_attrs(self, obj):
211211
self.file_content[fc_key] = global_attrs[key] = value
212212
self.file_content["/attrs"] = global_attrs
213213

214-
@classmethod
215-
def _get_object_attrs(cls, obj):
214+
@staticmethod
215+
def _get_object_attrs(obj):
216216
"""Get object attributes using __dict__ but retrieve recoverable attributes on failure."""
217217
try:
218218
return obj.__dict__

0 commit comments

Comments
 (0)