summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-03-16 16:11:42 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-03-16 16:11:42 +0100
commita4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd (patch)
treeb5db8f30b17da28270693efc1c4ce88d9acdbca3
parentcontrol radio (diff)
downloadtravnik-a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd.tar
travnik-a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd.tar.gz
travnik-a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd.tar.bz2
travnik-a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd.tar.lz
travnik-a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd.tar.xz
travnik-a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd.tar.zst
travnik-a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd.zip
-rwxr-xr-xradio/radio.py3
1 files changed, 2 insertions, 1 deletions
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