x-hw / amazing-qr

💮 amazing QRCode generator in Python (supporting animated gif) - Python amazing 二维码生成器(支持 gif 动态图片二维码)
GNU General Public License v3.0
10.3k stars 1.55k forks source link

[fix] change tempdir from ~/.myqr to general temporary direcory #87

Open sasanquaneuf opened 2 years ago

sasanquaneuf commented 2 years ago

Now amzqr uses "~/.myqr" as temporary directory. If there are 2 (or more) processes, then one will remove the temporary directory even if the other is using it. This cause some Exception. So I fixed it by change tempdir from ~/.myqr to general temporary direcory.

related to #36