diff options
Diffstat (limited to 'youtube/local_playlist.py')
-rw-r--r-- | youtube/local_playlist.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube/local_playlist.py b/youtube/local_playlist.py index 76e7ee6..715015e 100644 --- a/youtube/local_playlist.py +++ b/youtube/local_playlist.py @@ -5,9 +5,11 @@ from youtube import common import html import gevent import urllib +import settings + +playlists_directory = os.path.join(settings.data_dir, "playlists") +thumbnails_directory = os.path.join(settings.data_dir, "playlist_thumbnails") -playlists_directory = os.path.normpath("data/playlists") -thumbnails_directory = os.path.normpath("data/playlist_thumbnails") with open('yt_local_playlist_template.html', 'r', encoding='utf-8') as file: local_playlist_template = Template(file.read()) |