From 3e980c9d14b545f01ea6a2059822e10fc820ca02 Mon Sep 17 00:00:00 2001 From: DrClaw Date: Wed, 19 Feb 2020 01:12:31 +0100 Subject: [PATCH] Unbound mod variablewq --- shlax/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shlax/cli.py b/shlax/cli.py index 283c2f8..f7d26bb 100644 --- a/shlax/cli.py +++ b/shlax/cli.py @@ -33,10 +33,10 @@ class ConsoleScript(cli2.ConsoleScript): self.exit_code = 1 return shlaxfile = mod.__file__ + self._doc = inspect.getdoc(mod) self.shlaxfile = Shlaxfile() self.shlaxfile.parse(shlaxfile) - self._doc = inspect.getdoc(mod) if 'main' in self.shlaxfile.actions: action = self.shlaxfile.actions['main'] for name, child in self.shlaxfile.actions['main'].menu.items():