summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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