mirror of
https://github.com/makeworld-the-better-one/amfora.git
synced 2024-11-21 23:19:15 +03: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"))
|
||||
|
||||
setColor := func(k string, colorStr string) error {
|
||||
if k == "include" {
|
||||
return nil
|
||||
}
|
||||
colorStr = strings.ToLower(colorStr)
|
||||
var color tcell.Color
|
||||
if colorStr == "default" {
|
||||
|
Loading…
Reference in New Issue
Block a user