Fix storage example generator

This commit is contained in:
Markus Unterwaditzer 2017-02-05 14:38:37 +01:00
parent 44206a1e4e
commit 6b2450f4ac

View file

@ -88,7 +88,7 @@ def github_issue_role(name, rawtext, text, lineno, inliner,
def format_storage_config(cls, header=True):
if header is True:
yield '[storage example_for_{}]'.format(cls.storage_name)
yield 'type = {}'.format(cls.storage_name)
yield 'type = "{}"'.format(cls.storage_name)
from vdirsyncer.storage.base import Storage
from vdirsyncer.utils import get_storage_init_specs