Commit 15a6f13c authored by Joel Collins's avatar Joel Collins
Browse files

Blackened

parent 5a0188ab
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -69,4 +69,3 @@ class NestedStatusProperty(Resource):
            return abort(404)

        return jsonify(value)
+1 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@ class OpenflexureSettingsFile:

# HANDLE BASIC LOADING AND SAVING OF SETTINGS FILES


def load_json_file(config_path) -> dict:
    """
    Open a .json config file
+3 −3
Original line number Diff line number Diff line
@@ -213,9 +213,9 @@ class ExtensibleSerialInstrument(object):
                return self.read_multiline(termination_line)
            else:
                logging.debug("Reading response...")
                line = (
                    self.readline(timeout).strip()
                )  # question: should we strip the final newline?
                line = self.readline(
                    timeout
                ).strip()  # question: should we strip the final newline?
                logging.debug(f"Read finished. Got {line}")
                return line

+1 −1

File changed.

Contains only whitespace changes.