Skip to content

Commit

Permalink
fix: POVR Studios missing first time (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
toshski authored Feb 9, 2023
1 parent 0d1c91b commit 352d80b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pkg/config/scraper_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func (o *ScraperList) Load() error {
if _, err := os.Stat(fName); os.IsNotExist(err) {
list, _ := json.MarshalIndent(officalScrapers, "", " ")
ioutil.WriteFile(fName, list, 0644)
return nil
} else {
b, err := ioutil.ReadFile(fName)
if err != nil {
Expand Down
3 changes: 1 addition & 2 deletions pkg/scrape/povr.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ func addPOVRScraper(id string, name string, company string, avatarURL string, cu
if custom {
suffixedName += " (Custom POVR)"
siteNameSuffix += " (POVR)"
}
if company != "POVR.COM" {
} else {
suffixedName += " (POVR)"
}
registerScraper(id, suffixedName, avatarURL, func(wg *sync.WaitGroup, updateSite bool, knownScenes []string, out chan<- models.ScrapedScene) error {
Expand Down

0 comments on commit 352d80b

Please sign in to comment.