mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-30 21:54:39 +00:00
Fix typo in function set_maintenance
Fix a simple typo in the `set_maintenance` function in the `Setting` class. The function does not seem to be actually used anywhere.
This commit is contained in:
parent
6c8a3ac36c
commit
4597e55379
@ -1731,7 +1731,7 @@ class Setting(db.Model):
|
|||||||
self.name = name
|
self.name = name
|
||||||
self.value = value
|
self.value = value
|
||||||
|
|
||||||
def set_mainteance(self, mode):
|
def set_maintenance(self, mode):
|
||||||
maintenance = Setting.query.filter(Setting.name=='maintenance').first()
|
maintenance = Setting.query.filter(Setting.name=='maintenance').first()
|
||||||
|
|
||||||
if maintenance is None:
|
if maintenance is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user