Create media directory when running setup.py

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-27 00:38:37 +01:00
parent 1502bf94b6
commit de46993714

View file

@ -2,6 +2,8 @@
import configparser, os.path, tweepy, dbtools, getpass
os.mkdirs("media", exist_ok=True)
if os.path.isfile("config.cfg"):
print("config.cfg already exists. Please remove it before running this script.")
exit(1)