1
0
mirror of https://github.com/FreeOpcUa/opcua-asyncio synced 2025-10-29 17:07:18 +08:00
Files
opcua-asyncio/tools/uaread
Ralf Taraschewski 9aad5a4d6d Replace os path with pathlib (#1179)
* replaced os.path with pathlib.Path

* fixed some type hinting; added FIXME for critical vulnerability

* added string and path support for certificate paths because path only broke the API. BUT we should stop using strings for paths in the future..

---------

Co-authored-by: ratara <noreply>
2023-03-29 19:53:47 +02:00

13 lines
188 B
Python
Executable File

#!/usr/bin/env python3
import sys
from pathlib import Path
sys.path.append(f'{Path(__file__).parent.parent}')
from asyncua.tools import uaread
if __name__ == "__main__":
uaread()