From 74c4c7dbbfbf249f30d6bc2a78d157d29a7ab060 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 30 Mar 2020 21:33:24 -0700 Subject: [PATCH] Fix error args --- amanuensis/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amanuensis/errors.py b/amanuensis/errors.py index 87ee595..dd7be37 100644 --- a/amanuensis/errors.py +++ b/amanuensis/errors.py @@ -4,13 +4,13 @@ class AmanuensisError(Exception): class MissingConfigError(AmanuensisError): """A config file is missing that was expected to be present""" def __init__(self, path): - super().__init__(self, "A config file or directory was expected to " + super().__init__("A config file or directory was expected to " f"exist, but could not be found: {path}") class ConfigAlreadyExistsError(AmanuensisError): """Attempted to create a config, but it already exists""" def __init__(self, path): - super().__init__(self, "Attempted to create a config, but it already " + super().__init__("Attempted to create a config, but it already " f"exists: {path}") class MalformedConfigError(AmanuensisError):