Closed
Description
When the transfer_map is loaded in datatransfer.py via
The subsequent conditional check does not validate whether the transfer_id is actually present in the transfer_map since the following conditional check in both the action == 'deltransfer'
and action == 'redotransfer'
will never be true since an empty collection's truth value is false.
https://stackoverflow.com/questions/23177439/how-to-check-if-a-dictionary-is-empty
https://docs.python.org/3.8/library/stdtypes.html#truth-value-testing
Might be a leftover from python2