mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Tell the user to install unicode-slugify in case of ImportError
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
from slugify import SLUG_OK, slugify
|
||||
from core.const import log
|
||||
|
||||
try:
|
||||
from slugify import SLUG_OK, slugify
|
||||
except ImportError:
|
||||
log.warning('Remove any other slugifies and install unicode-slugify')
|
||||
|
||||
import os
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user