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

Correct type hint

parent 4547c77e
No related branches found
No related tags found
1 merge request!133WIP: prepare fast mseed to connect with SOHView
......@@ -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
......
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