Skip to content

Commit

Permalink
set ns as '~' when namespace is '~' (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 authored Oct 4, 2022
1 parent 2b46ee4 commit 2654f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamic_reconfigure/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
class Server(object):
def __init__(self, type, callback, namespace=""):
self.mutex = threading.Lock()
if not namespace:
if not namespace or namespace == "~":
self.ns = "~"
else:
if namespace[0] not in ["/", "~"]:
Expand Down

0 comments on commit 2654f22

Please sign in to comment.