Skip to content

Commit

Permalink
Handle Studio Not Found
Browse files Browse the repository at this point in the history
  • Loading branch information
toshski committed Dec 28, 2024
1 parent c4daacd commit 5bc2cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scrape/stashdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func StashDb() {
studio := FindStashdbStudio(sitename, "name")

sitecfg, cfgExists := Config.StashSceneMatching[site.ID]
if !cfgExists {
if !cfgExists && studio.Data.Studio.ID != "" {
sitecfg = []models.StashSiteConfig{models.StashSiteConfig{StashId: studio.Data.Studio.ID}}
}

Expand Down

0 comments on commit 5bc2cd6

Please sign in to comment.