From 35c6b9e14bb7bfc96dae2b34f2b1a236ccee3ce6 Mon Sep 17 00:00:00 2001 From: kienle <kienle@passcal.nmt.edu> Date: Wed, 9 Aug 2023 14:46:34 -0600 Subject: [PATCH] Correct type hint --- sohstationviewer/model/reftek/from_rt2ms/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sohstationviewer/model/reftek/from_rt2ms/core.py b/sohstationviewer/model/reftek/from_rt2ms/core.py index 658f191a8..4ca268642 100644 --- a/sohstationviewer/model/reftek/from_rt2ms/core.py +++ b/sohstationviewer/model/reftek/from_rt2ms/core.py @@ -42,7 +42,7 @@ class Reftek130Exception(ObsPyException): class Reftek130(obspy_rt130_core.Reftek130): @staticmethod - def from_file(filename: str): + def from_file(filename: Union[str, Path]): rt130_unpacker = Unpacker('>') rt = Reftek130() rt._filename = filename -- GitLab