uploader_3.py 443 B

12345678910111213
  1. def get_upload_targets():
  2. """Construct and return unset dict of targets."""
  3. # Possible actions:
  4. # normal All available targets
  5. # all_mail All available emails
  6. # [slack]{, Mail#} Only specific emails and/or slack
  7. upload_targets = {'slack': False}
  8. for mail in range(int(get_key('Output', 'num_mail'))):
  9. upload_targets['mail_' + str(mail)] = False
  10. return upload_targets