Skip to content

Commit

Permalink
Merge 1e5e9b3 into cb71029
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Nov 29, 2016
2 parents cb71029 + 1e5e9b3 commit b5d1252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexicon/providers/gandi.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def create_record(self, type, name, content):
{'type': type.upper(),
'name': name,
'value': content,
'ttl': self.options.get('ttl',self.default_ttl)
'ttl': self.options.get('ttl') or self.default_ttl
})
self.api.domain.zone.version.set(self.apikey, self.zone_id, version)
ret = True
Expand Down

0 comments on commit b5d1252

Please sign in to comment.