This is necessary because the driver is still given the old MemoryMap when the user loads the image from a file, and will break uploading on Python 3. Ideally, the directory module should initialize the driver with MemoryMapBytes based on a class attribute.
Ah, okay.
On another note, MemoryMapBytes returns str on Python 2, and we should probably make it return python-future bytes. Many breakages may occur so this should be tested thoroughly.
Yep, I think I'm going to need to do that for the icom driver fixes I'm doing right now, so I'll put this in the queue.
This is the header that the official Windows programmer uses, and the change will allow CHIRP images to be read by the official app (and vice versa). I really should have noticed this earlier when I first submitted the driver.
Okay, good reason. I'll be pushing that last up in a bit.
--Dan