Fix togglesdict-related errors
Not sure if you can get into the bad state without a python 3 port, but given that there were already try-except (just incomplete), it seems prudent to put this on master.
Not sure if you can get into the bad state without a python 3 port, but given that there were already try-except (just incomplete), it seems prudent to put this on master.