diff options
| author | Jeff Carr <[email protected]> | 2025-09-03 01:19:37 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-03 01:19:37 -0500 |
| commit | f5b513fa05ddbaaa2149cf0527ae1206e653266b (patch) | |
| tree | 5e3776433b90c16e6cf30acb4468af712c5712da /doClean.go | |
| parent | 785591ab4cb3026ff069271b6f322a2e6f13eec8 (diff) | |
buttons for different stuffv0.0.6
Diffstat (limited to 'doClean.go')
| -rw-r--r-- | doClean.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -87,7 +87,7 @@ func cleanGeminiFile(fullname string) error { return log.Errorf("parsePB() == nil") } uuid := parts[1] - if argv.Clean.Match != "" { + if argv.Clean != nil && argv.Clean.Match != "" { if !strings.HasPrefix(uuid, argv.Clean.Match) { return log.Errorf("uuid %s does not match %s", uuid, argv.Clean.Match) } @@ -101,6 +101,7 @@ func cleanGeminiFile(fullname string) error { me.chats.ConfigSave() } else { log.Info("file was perfect. os.Remove() here", fullname) + chat.PrintChatGeminiTable() os.Remove(fullname) } |
