From ff41b591a5e817ddec6a7c8ac42c3c73b4db1df7 Mon Sep 17 00:00:00 2001 From: Bram Ulrichts <108867473+bulricht@users.noreply.github.com> Date: Fri, 24 May 2024 14:54:03 +0200 Subject: [PATCH] fix typos --- pysubyt/sinks.py | 2 +- pysubyt/sources.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pysubyt/sinks.py b/pysubyt/sinks.py index a4d0c33..7f01825 100644 --- a/pysubyt/sinks.py +++ b/pysubyt/sinks.py @@ -12,7 +12,7 @@ def assert_writable(file_path: str, force_output: bool = False): if not force_output: assert not os.path.isfile(file_path), ( - "File to write '%s' alread exists" % file_path + "File to write '%s' already exists" % file_path ) parent_path = os.path.dirname(os.path.abspath(file_path)) if not os.path.exists(parent_path): diff --git a/pysubyt/sources.py b/pysubyt/sources.py index d0f6d01..8f23381 100644 --- a/pysubyt/sources.py +++ b/pysubyt/sources.py @@ -17,7 +17,7 @@ def assert_readable(file_path): assert os.path.isfile(file_path), ( - "File to read '%s' does not exists" % file_path + "File to read '%s' does not exist" % file_path ) assert os.access(file_path, os.R_OK), "Can not read '%s'" % file_path