gandi-ddns icon indicating copy to clipboard operation
gandi-ddns copied to clipboard

Indent error

Open grandbyblos opened this issue 7 years ago • 2 comments

On line 118, you should add an indent to have return None instead of return None

Otherwise, the function read_config will always return None ...

grandbyblos avatar Nov 21 '17 08:11 grandbyblos

Thanks for spotting that - must have slipped in during a merge of a pull-request. Please review the master and close this if you're happy with the fix.

Cheers

matt1 avatar Nov 21 '17 18:11 matt1

(N.B. just merged a pull request https://github.com/matt1/gandi-ddns/pull/10/ that refactored some of the code in this area too).

matt1 avatar Nov 21 '17 18:11 matt1