Revert "В репе конфиг не нужен"
Some checks failed
continuous-integration/drone/push Build is failing

Все пошло не так

This reverts commit 0ba3b5f037.
This commit is contained in:
Lulzette 2021-11-01 05:13:35 +03:00
parent 94a626e7f1
commit 66d68701c2
2 changed files with 5 additions and 1 deletions

5
config.ini Normal file
View File

@ -0,0 +1,5 @@
[DB]
host = db
port = 27017
name = pycms

View File

@ -38,7 +38,6 @@ class Config:
"""
Read config file, if not exists - call self.createConfig()
"""
# TODO: Досоздавать недостающие ключи
import configparser
config = configparser.ConfigParser()
if not config.read('config.ini'):