This commit is contained in:
2022-08-23 12:56:54 +03:00
2 changed files with 8 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ class Mirva:
def create_config(self):
self.config = configparser.ConfigParser()
self.config = configparser.RawConfigParser()
self.config.read(self.config_file)
config_changed = False
if not "SITE" in self.config:
@@ -129,7 +129,7 @@ class Mirva:
self.posts.append(post)
def get_config(self):
self.config = configparser.ConfigParser()
self.config = configparser.RawConfigParser()
self.config.read(self.config_file)
def write_config(self):