use script dir for parser
This commit is contained in:
parent
cc323707fc
commit
de4aaeb02b
@ -38,7 +38,7 @@ type Handlers struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewHandlers(dir string, st *state.State) (*Handlers, error) {
|
func NewHandlers(dir string, st *state.State) (*Handlers, error) {
|
||||||
pfp := path.Join(dir, "pp.csv")
|
pfp := path.Join(scriptDir, "pp.csv")
|
||||||
parser := asm.NewFlagParser()
|
parser := asm.NewFlagParser()
|
||||||
_, err := parser.Load(pfp)
|
_, err := parser.Load(pfp)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user