mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-10 23:49:28 +02:00
jspf: fixed creating new file in append mode
This commit is contained in:
parent
66242d0057
commit
6281554248
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright © 2023 Philipp Wolfer <phw@uploadedlobster.com>
|
||||
Copyright © 2023-2024 Philipp Wolfer <phw@uploadedlobster.com>
|
||||
|
||||
This file is part of Scotty.
|
||||
|
||||
|
@ -180,7 +180,7 @@ func (b *JSPFBackend) readJSPF() error {
|
|||
if b.append {
|
||||
file, err := os.Open(b.filePath)
|
||||
if err != nil {
|
||||
return err
|
||||
return nil
|
||||
}
|
||||
|
||||
defer file.Close()
|
||||
|
|
Loading…
Add table
Reference in a new issue