uploader_5.py 265 B

12345678
  1. def save_all_targets(all_targets, targets):
  2. """Set actual targets from button to dict."""
  3. # FIXME: Seems a bit convoluted.
  4. for action, activated in targets.items():
  5. all_targets[action] = activated or all_targets[action]
  6. return all_targets