diff --git a/docs/README.rst b/docs/README.rst new file mode 100644 index 00000000..7d4d0aae --- /dev/null +++ b/docs/README.rst @@ -0,0 +1,2 @@ +Examples +======== \ No newline at end of file diff --git a/map2loop/config.py b/map2loop/config.py index 1bb2ff3a..be923a98 100644 --- a/map2loop/config.py +++ b/map2loop/config.py @@ -202,7 +202,7 @@ def update_from_file(self, filename: str, legacy_format: bool = False, lower: bo err_string = f"There is a problem parsing the config file ({filename}).\n" if filename.startswith("http"): err_string += "Please check the file is accessible online and then\n" - if legacy_format == False: + if not legacy_format: err_string += "Also check if this is a legacy config file and add clut_file_legacy=True to the Project function\n" err_string += "Check the contents for mismatched quotes or brackets!" raise Exception(err_string)