mirror of
https://github.com/agresdominik/predictify.git
synced 2026-04-21 17:55:49 +00:00
Move .env file to config dir, change db path for improved project structure
* Change path of db and token to `data` which helps to sperate source code from data files like `tokens.json` & `spotify_scraped.db` * Change path of `.env` `src/env/` to `config/` for the same reason as mentioned above * Added the newly created files to `.gitigore` accordingly
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ import requests
|
||||
from auth import authenticate, simple_authenticate
|
||||
from database_handler import Database, Table
|
||||
|
||||
db = Database('spotify_scraped.db')
|
||||
db = Database('./data/spotify_scraped.db')
|
||||
|
||||
|
||||
def scraping():
|
||||
|
||||
Reference in New Issue
Block a user