Skip to content

Commit

Permalink
Merge pull request #7 from Thomas007G/fix_chartTheme
Browse files Browse the repository at this point in the history
fixed #6
  • Loading branch information
ericm authored May 21, 2020
2 parents 228ab77 + 8678340 commit e7fff35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func main() {
return
}

chartTheme := viper.Get("config.default_theme").(graph.ChartTheme)
chartTheme := graph.ChartTheme(viper.GetInt("config.default_theme"))

switch {
case *theme == "line":
Expand Down

0 comments on commit e7fff35

Please sign in to comment.