Skip to content
Snippets Groups Projects
Commit 2b955c74 authored by Kien Le's avatar Kien Le
Browse files

Correct type hint

parent 3c30208e
No related branches found
No related tags found
1 merge request!139Change the way RT130 data is read for better performance
...@@ -42,7 +42,7 @@ class Reftek130Exception(ObsPyException): ...@@ -42,7 +42,7 @@ class Reftek130Exception(ObsPyException):
class Reftek130(obspy_rt130_core.Reftek130): class Reftek130(obspy_rt130_core.Reftek130):
@staticmethod @staticmethod
def from_file(filename: str): def from_file(filename: Union[str, Path]):
rt130_unpacker = Unpacker('>') rt130_unpacker = Unpacker('>')
rt = Reftek130() rt = Reftek130()
rt._filename = filename rt._filename = filename
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment