Skip to content

Commit

Permalink
move string
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Apr 30, 2024
1 parent 108ddce commit 7d2a860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqtt_ros_bridge/bridge_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class QoSPresetProfilesInt(IntEnum):
BEST_AVAILABLE = 8

@staticmethod
def to_qos_profile(enum: int | 'QoSPresetProfilesInt') -> QoSPresetProfiles:
def to_qos_profile(enum: 'int | QoSPresetProfilesInt') -> QoSPresetProfiles:
match enum:
case QoSPresetProfilesInt.UNKNOWN:
return QoSPresetProfiles.UNKNOWN
Expand Down

0 comments on commit 7d2a860

Please sign in to comment.