mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Minor update to change bin ocr db
This commit is contained in:
parent
d899af729a
commit
1b9e7799c4
@ -29,6 +29,11 @@ namespace Nikse.SubtitleEdit.Logic.Ocr.Binary
|
|||||||
|
|
||||||
public void Save()
|
public void Save()
|
||||||
{
|
{
|
||||||
|
if (File.Exists(FileName))
|
||||||
|
{
|
||||||
|
File.Delete(FileName);
|
||||||
|
}
|
||||||
|
|
||||||
using (Stream gz = new GZipStream(File.OpenWrite(FileName), CompressionMode.Compress))
|
using (Stream gz = new GZipStream(File.OpenWrite(FileName), CompressionMode.Compress))
|
||||||
{
|
{
|
||||||
foreach (var bob in CompareImages)
|
foreach (var bob in CompareImages)
|
||||||
|
Loading…
Reference in New Issue
Block a user