We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 499e9fb commit b93f2b7Copy full SHA for b93f2b7
1 file changed
bin/bna
@@ -20,7 +20,7 @@ def get_default_config_path() -> str:
20
Returns the default configuration file path
21
"""
22
configdir = "bna"
23
- home = os.environ.get("HOME")
+ home = os.environ.get("HOME", "")
24
if os.name == "posix":
25
base = os.environ.get("XDG_CONFIG_HOME", os.path.join(home, ".config"))
26
path = os.path.join(base, configdir)
@@ -138,7 +138,7 @@ class App:
138
139
140
class DefaultShowGroup(click.Group):
141
- def parse_args(self, ctx: click.Context, args: list):
+ def parse_args(self, ctx: click.Context, args: List[str]):
142
if not args:
143
args.append("show")
144
return super().parse_args(ctx, args)
0 commit comments