Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
update for python3.8 (ros#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
teyssieuman committed Dec 16, 2020
1 parent 1574a6e commit 99d87c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf2_ros/src/tf2_ros/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, cache_time = None, node = None):
:param cache_time: (Optional) How long to retain past information in BufferCore.
:param node: (Optional) If node create a tf2_frames service, It responses all frames as a yaml
"""
if cache_time != None:
if cache_time is not None:
tf2.BufferCore.__init__(self, cache_time)
else:
tf2.BufferCore.__init__(self)
Expand Down

0 comments on commit 99d87c5

Please sign in to comment.