Skip to content

Commit

Permalink
added settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
krayevidi committed Aug 2, 2021
1 parent 04451e0 commit 0eaba7e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
*.csv
.idea/*
.cache*
settings.py
local_settings.py
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def import_from_shazam(library: ShazamLibrary):
def main():
library = ShazamLibrary()
playlist = SpotifyPlaylist()
playlist.import_from_shazam(library)
# playlist.import_from_shazam(library)


if __name__ == '__main__':
Expand Down
10 changes: 10 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
USER_ID = ''
SCOPE = ''
CLIENT_ID = ''
CLIENT_SECRET = ''
PLAYLIST_ID = ''

try:
from local_settings import *
except ImportError:
pass

0 comments on commit 0eaba7e

Please sign in to comment.