remove files if it seems close enough
This commit is contained in:
parent
db079664c9
commit
81343b3b66
|
@ -95,6 +95,10 @@ func cleanGeminiFile(fullname string) error {
|
||||||
if chat.AddGeminiRequest(fname, age, pb) {
|
if chat.AddGeminiRequest(fname, age, pb) {
|
||||||
me.chats.ConfigSave()
|
me.chats.ConfigSave()
|
||||||
okExit("")
|
okExit("")
|
||||||
|
} else {
|
||||||
|
log.Info("file was perfect. os.Remove() here", fullname)
|
||||||
|
os.Remove(fullname)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue