all: start using pathlib

Change-Id: I2b0d6ff8f534382913414fa9b35150d6f697acb4
Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/34463
Reviewed-by: Alexander Zaft <a.zaft@fz-juelich.de>
Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
This commit is contained in:
Alexander Zaft
2024-08-26 14:30:36 +02:00
committed by Markus Zolliker
parent 6c2b1ea355
commit fe0aa3d7d5
9 changed files with 29 additions and 29 deletions

View File

@ -34,13 +34,13 @@ Use cases, mainly for test purposes:
import sys
import argparse
from os import path
from pathlib import Path
import asyncore
import socket
import time
# Add import path for inplace usage
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
sys.path.insert(0, str(Path(__file__).absolute().parents[1]))
from frappy.lib import get_class, formatException, mkthread