IchHabRecht / mask_export

Export your mask elements as extension
GNU General Public License v2.0
45 stars 27 forks source link

Avoid self destruction when no extension key is provided #110

Closed smichaelsen closed 6 years ago

smichaelsen commented 6 years ago

mask_export should not use its own extension key as default export extension key, because it will overwrite itself with the exported code when using the Write feature.

My suggestion is to leave the export extension key blank by default and make it a mandatory field so the user has to provide an extension key explicitly.

IchHabRecht commented 6 years ago

Hi @smichaelsen,

Thank you for that issue report. Obviously this came with the "write to filesystem" feature and was not properly tested on my side. As I don't want the user to have to deal with an extension key on its first export, I decided to change that one to "my_mask_export".