diff --git a/wis2box-management/wis2box/metadata/station.py b/wis2box-management/wis2box/metadata/station.py index e9dfa601..c4533318 100644 --- a/wis2box-management/wis2box/metadata/station.py +++ b/wis2box-management/wis2box/metadata/station.py @@ -324,7 +324,7 @@ def publish_from_csv(path: Path, new_topic: str = None) -> None: LOGGER.debug(f'Publishing station list from {path}') station_list = [] with path.open() as fh: - #checking if file is in standard utf-8 + # checking if file is in standard utf-8 error=False try: f = codecs.open(str(path), encoding='utf-8', errors='strict') @@ -333,7 +333,7 @@ def publish_from_csv(path: Path, new_topic: str = None) -> None: except UnicodeDecodeError: error=True if error: - msg = f'Station file is not in standard UTF-8, please update your file.' + msg = f'Station file is not in standard UTF-8, please update.' LOGGER.error(msg) raise RuntimeError(msg)