mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +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.value = value
|
||||
|
||||
def set_mainteance(self, mode):
|
||||
def set_maintenance(self, mode):
|
||||
maintenance = Setting.query.filter(Setting.name=='maintenance').first()
|
||||
|
||||
if maintenance is None:
|
||||
|
Loading…
Reference in New Issue
Block a user