removed duplicate keys assignments in a dictionary

This fixes 'duplicate-key (W0109)' pylint warning.