mirror of
https://github.com/spl0k/supysonic.git
synced 2024-09-20 03:11:04 +00:00
Merge pull request #71 from ogarcia/os_fix
Fix small issue with makedirs import
This commit is contained in:
commit
a7d2e28e0c
@ -37,7 +37,7 @@ def create_application():
|
|||||||
|
|
||||||
# Test for the cache directory
|
# Test for the cache directory
|
||||||
if not path.exists(config.get('webapp', 'cache_dir')):
|
if not path.exists(config.get('webapp', 'cache_dir')):
|
||||||
os.makedirs(config.get('webapp', 'cache_dir'))
|
makedirs(config.get('webapp', 'cache_dir'))
|
||||||
|
|
||||||
# Flask!
|
# Flask!
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user