diff --git a/common/scrapers/spotify.py b/common/scrapers/spotify.py index fbab822c..dfd60b51 100644 --- a/common/scrapers/spotify.py +++ b/common/scrapers/spotify.py @@ -6,6 +6,8 @@ from music.models import Album, Song from music.forms import AlbumForm, SongForm from django.conf import settings from common.scraper import * +from threading import Thread +from django.core.exceptions import ObjectDoesNotExist spotify_token = None diff --git a/common/templates/partial/_navbar.html b/common/templates/partial/_navbar.html index a364693c..c86b0fca 100644 --- a/common/templates/partial/_navbar.html +++ b/common/templates/partial/_navbar.html @@ -12,7 +12,7 @@