This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from myapp import app | |
| secret_key = os.environ.get('SECRET_KEY', None) | |
| if not secret_key: | |
| raise ValueError('You must have "SECRET_KEY" variable') | |
| app.config['SECRET_KEY'] = secret_key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import glob | |
| from mutagen.mp3 import MP3 | |
| from mutagen.easyid3 import EasyID3 | |
| # | |
| # MP3 playlist generator |