Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send list of registered transmission services to client #1911

Merged

Conversation

petrjasek
Copy link
Member

SDCP-247

@petrjasek petrjasek added this to the 2.0 milestone Jun 26, 2020
@petrjasek petrjasek requested review from a team and ride90 and removed request for a team June 29, 2020 04:35
@@ -35,6 +36,11 @@
def register_transmitter(transmitter_type, transmitter, errors):
registered_transmitters[transmitter_type] = transmitter
transmitter_errors[transmitter_type] = dict(errors)
registered_transmitters_list.append({
'type': transmitter_type,
'name': transmitter.NAME or transmitter_type,
Copy link
Contributor

@ride90 ride90 Jun 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use getattr(transmitter, 'NAME', transmitter_type) just in case NAME does not exist as attr.
My bad, I see that NAME always there.

@petrjasek petrjasek merged commit ce42d7a into superdesk:develop Jun 29, 2020
@petrjasek petrjasek deleted the feat-transmission-service-list branch June 29, 2020 08:45
petrjasek added a commit that referenced this pull request Jun 29, 2020
ride90 added a commit to ride90/superdesk-core that referenced this pull request Jul 1, 2020
* upstream/develop:
  Include all schema items in default search projection + archive_item (superdesk#1913)
  send list of registered transmission services to client (superdesk#1911)
  stop logging not queued error when testing (superdesk#1909)
  FIX: Missing texts/labels for macros in desk settings. [SDESK-5350] (superdesk#1912)
  Fixed Macros. (superdesk#1902)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants