From a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 16 Mar 2023 16:11:42 +0100 Subject: radio.py: path travnik.py --- radio/radio.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'radio/radio.py') diff --git a/radio/radio.py b/radio/radio.py index 38689ca..40d9ccf 100755 --- a/radio/radio.py +++ b/radio/radio.py @@ -1,6 +1,7 @@ #!/usr/bin/python3 from sys import path, argv -path.append("..") +from pathlib import Path +path.append(Path(__file__).parent.absolute() + "/..") from travnik import Torrent import inotify.adapters from threading import Thread -- cgit v1.2.3