Skip to content

Commit

Permalink
fix: setu
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jan 9, 2023
1 parent 02d902c commit ffbc8b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions setu/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ func NewPool(folder string, rolimg func(string) (string, error), getdat func(str

func (p *Pool) Roll(typ string) (string, error) {
d := p.folder + typ
if file.IsNotExist(d) {
return "", ErrNoSuchType
}
if p.rolimg == nil {
return p.rollLocal(d)
}
Expand Down

0 comments on commit ffbc8b3

Please sign in to comment.