Skip to content

Commit

Permalink
Consistent case for signal names
Browse files Browse the repository at this point in the history
  • Loading branch information
jooste committed Mar 6, 2024
1 parent ec90c24 commit 9bcb533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluesky/core/signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __call__(cls, topic='', *args, **kwargs):
''' Factory function for Signal construction. '''
# if no name is passed, return an anonymous Signal
if not topic:
return super().__call__('anonymous', *args, **kwargs)
return super().__call__('ANONYMOUS', *args, **kwargs)
# Convert name to string if necessary
if isinstance(topic, bytes):
topic = topic.decode()
Expand Down

0 comments on commit 9bcb533

Please sign in to comment.