We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7d989d commit a1f2e97Copy full SHA for a1f2e97
addon/globalPlugins/Access8Math/editor.py
@@ -376,6 +376,12 @@ def OnExport(self, event):
376
) as entryDialog:
377
if entryDialog.ShowModal() == wx.ID_OK:
378
dst = entryDialog.GetPath()
379
+
380
+ if os.path.exists(dst + ".a8m"):
381
+ os.remove(dst + ".a8m")
382
+ if os.path.exists(dst + ".zip"):
383
+ os.remove(dst + ".zip")
384
385
shutil.make_archive(dst, 'zip', self.ad.a8m_folder)
386
os.rename(dst + ".zip", dst + ".a8m")
387
shutil.make_archive(dst, 'zip', self.ad.review_folder)
0 commit comments