It's called makedirs, not mkdirs...
This commit is contained in:
parent
de46993714
commit
0856063459
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@
|
|||
|
||||
import configparser, os.path, tweepy, dbtools, getpass
|
||||
|
||||
os.mkdirs("media", exist_ok=True)
|
||||
os.makedirs("media", exist_ok=True)
|
||||
|
||||
if os.path.isfile("config.cfg"):
|
||||
print("config.cfg already exists. Please remove it before running this script.")
|
||||
|
|
Loading…
Reference in a new issue