diff options
Diffstat (limited to 'docs/render_cli.py')
-rw-r--r-- | docs/render_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/render_cli.py b/docs/render_cli.py index af350d1..4417c63 100644 --- a/docs/render_cli.py +++ b/docs/render_cli.py @@ -117,7 +117,7 @@ class CliTable(SphinxDirective): names = option["name"] default = option["default"] if default is not None: - if isinstance(default, str) and default[0] == default[-1] and default[0] == '"': + if isinstance(default, str) and default and default[0] == default[-1] and default[0] == '"': default = default[1:-1] if default == SUPPRESS: default = None |