mirror of
https://git.sr.ht/~phw/scotty
synced 2025-06-05 12:58:33 +02:00
If dump does no write to file, output the result as log
This commit is contained in:
parent
312d9860cf
commit
4da5697435
10 changed files with 29 additions and 15 deletions
|
@ -126,7 +126,7 @@ func (b *ScrobblerLogBackend) StartImport() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (b *ScrobblerLogBackend) FinishImport() error {
|
||||
func (b *ScrobblerLogBackend) FinishImport(result *models.ImportResult) error {
|
||||
return b.file.Close()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue