From 30cf31f55692af64e282366302f10168a193be65 Mon Sep 17 00:00:00 2001 From: shaneholloman Date: Fri, 27 Sep 2024 13:06:34 +1200 Subject: [PATCH] fixed long line, sheesh those are irratating --- src/codemapper/__init__.py | 2 +- src/codemapper/codemapper.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/codemapper/__init__.py b/src/codemapper/__init__.py index 844291d..a932091 100644 --- a/src/codemapper/__init__.py +++ b/src/codemapper/__init__.py @@ -6,6 +6,6 @@ creating detailed Markdown documentation of their structure and contents. """ -__version__ = "3.4.5" +__version__ = "3.5.0" # Any other necessary imports or package-level code can go here diff --git a/src/codemapper/codemapper.py b/src/codemapper/codemapper.py index df63acb..2922c2f 100644 --- a/src/codemapper/codemapper.py +++ b/src/codemapper/codemapper.py @@ -645,7 +645,8 @@ def main(): directory_path = path # Determine the base_name for the title - if not os.path.isabs(args.input_path) and not args.input_path.startswith(('http://', 'https://')): + if not os.path.isabs(args.input_path) and \ + not args.input_path.startswith(('http://', 'https://')): base_name = os.path.basename(os.path.abspath(args.input_path)) else: base_name = os.path.basename(directory_path)