mirror of
https://github.com/makew0rld/amfora.git
synced 2024-12-04 14:46:29 -05:00
Fixed error when including theme. (#290)
This commit is contained in:
parent
e3e1fc27cd
commit
4a95df8036
@ -348,6 +348,9 @@ func Init() error {
|
|||||||
cache.SetTimeout(viper.GetInt("cache.timeout"))
|
cache.SetTimeout(viper.GetInt("cache.timeout"))
|
||||||
|
|
||||||
setColor := func(k string, colorStr string) error {
|
setColor := func(k string, colorStr string) error {
|
||||||
|
if k == "include" {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
colorStr = strings.ToLower(colorStr)
|
colorStr = strings.ToLower(colorStr)
|
||||||
var color tcell.Color
|
var color tcell.Color
|
||||||
if colorStr == "default" {
|
if colorStr == "default" {
|
||||||
|
Loading…
Reference in New Issue
Block a user