http://basedware.i2p/elburg/EmbedMetadata/commit/8ed5644f818822095884c0e57e32b022e484a758
" ) full . append ( { ' tagName ' : str ( key ) , ' realName ' : None , ' value ' : str ( val ) } ) logging . info ( " writing backup data " ) import json #import tempfile #temp = tempfile.TemporaryFile(mode= ' w+ ' ) #json.dump(full,temp,sort_keys=True) with open ( f " { file } .exif_backup.json.xz " , ' w+b ' ) as bfile logging . debug ( f " writing to { bfile } " ) import lzma bfile . write ( lzma . compress ( bytes ( json . dumps ( full , sort_keys = True ) ) , format...