riverscuomo / spotkin_server

A python package that updates one or more of your Spotify playlists every day with a random selection of songs from any playlists you specify. Here's mine: https://open.spotify.com/playlist/1HaQfSGjNzIsiC5qOsCUcW?si=ddc16d3e9524410c . This repo also contains the backend server for Spotkin webapp.
GNU General Public License v3.0
82 stars 9 forks source link

Resolve imports for flask and standalone #23

Open riverscuomo opened 2 months ago

riverscuomo commented 2 months ago

Running the server with flask run

imports have to have 'spotkin' like from spotkin.scripts.utils

Running as a standalone command line script

now the imports cannot have 'spotkin'. must be like from scripts.utils

R055A commented 2 months ago

Hi @riverscuomo

It seems there is a resolution as explained in PR #24 comment