Skip to content

Fix the configuration parsing issue #62

@f5x-safe

Description

@f5x-safe

The configuration file contains the % character. Python's configparser module uses string interpolation by default, and % is treated as interpolation syntax.

Updated ....\imapbox-master\imapbox.py with 1 addition and 1 removal
9
10
11 def load_configuration(args):
12 - config = configparser.ConfigParser(allow_no_value=True)
12 + config = configparser.ConfigParser(allow_no_value=True, interpolation=None)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions