Skip to content
Snippets Groups Projects
  • dwcoder's avatar
    5ca58b56
    Fix issue 23 · 5ca58b56
    dwcoder authored
    This commit fixes #23
    
    Add the `string.strip()` function to the `get_config_dict()`, to remove
    inverted commas around string values in the diceware.ini file.
    The strip removes both `"` and `'`.
    Add unit test to ensure the line:
    
        delimiter=" "
    
    in the diceware.ini file is being parsed correctly as a space.
    5ca58b56
    History
    Fix issue 23
    dwcoder authored
    This commit fixes #23
    
    Add the `string.strip()` function to the `get_config_dict()`, to remove
    inverted commas around string values in the diceware.ini file.
    The strip removes both `"` and `'`.
    Add unit test to ensure the line:
    
        delimiter=" "
    
    in the diceware.ini file is being parsed correctly as a space.