diff --git a/cat_win/src/cat.py b/cat_win/src/cat.py index 4730760b..7464bad2 100644 --- a/cat_win/src/cat.py +++ b/cat_win/src/cat.py @@ -65,7 +65,7 @@ coloramaInit(strip=False) -working_dir = os.path.dirname(os.path.realpath(__file__)) +working_dir = os.path.abspath(os.path.join(os.path.realpath(__file__), os.pardir, os.pardir)) on_windows_os = platform.system() == 'Windows' file_uri_prefix = 'file://' + '/' * on_windows_os