Skip to content

Commit

Permalink
Fix to_object_identifier (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
higherorderfunctor committed Nov 12, 2019
1 parent 25b611f commit 66f7829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmp_fetch/pandas_extension/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _to_inet_address(self, default_zone: Any = None) -> Any:

def to_object_identifier(self) -> Any:
"""Extract an object identifier buffer as a string."""
return self.buffer.to_object_identifier()[['object_identifier']]
return self.buffer.to_object_identifier()['object_identifier']

def to_timedelta(
self, denominator: int = 1, unit: Text = 'seconds'
Expand Down

0 comments on commit 66f7829

Please sign in to comment.