diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-16 16:11:42 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-16 16:11:42 +0100 |
commit | a4f9acd7782f47e023f9a34ef5acbc37d2f9f5bd (patch) | |
tree | b5db8f30b17da28270693efc1c4ce88d9acdbca3 /radio/radio.py | |
parent | control radio (diff) | |
download | travnik-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 |
Diffstat (limited to '')
-rwxr-xr-x | radio/radio.py | 3 |
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 |