allow % in filenames
This commit is contained in:
@@ -70,7 +70,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:
|
||||
@@ -128,7 +128,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):
|
||||
@@ -478,4 +478,4 @@ class SmartFormatter(HelpFormatter):
|
||||
def _split_lines(self, help, width):
|
||||
if help.startswith("smart|"):
|
||||
return help[6:].splitlines()
|
||||
return HelpFormatter._split_lines(self, help, width)
|
||||
return HelpFormatter._split_lines(self, help, width)
|
||||
|
||||
Reference in New Issue
Block a user