Merge pull request #61 from tessus/fix/panic

fix panic when no config and no priority argument
This commit is contained in:
Jannis Mattheis
2023-05-08 15:57:28 +02:00
committed by GitHub

View File

@@ -68,7 +68,7 @@ func doPush(ctx *cli.Context) {
stringURL = conf.URL
}
if !ctx.IsSet("priority") {
if !ctx.IsSet("priority") && conf != nil {
priority = conf.DefaultPriority
}