Skip to content

Potential typo in statistics.go #118

@mcclown

Description

@mcclown

I spotted a potential error on line 258 of statistics.go

var parentRatingKey int = 0
parentRatingKeyInt, err := strconv.Atoi(fmt.Sprintf("%v", tautulli_data[j].ParentRatingKey))
if err == nil {
	grandparentRatingKey = parentRatingKeyInt
}

Shouldn't this be assigning to parentRatingKey instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-releaseThe issue is resovled in an ureleased versionbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions