mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
bug fix : correct setting name when changing a 'requires restart' setting
This commit is contained in:
parent
0ab9b2dbc7
commit
ff598a22ff
@ -571,7 +571,7 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
super().save()
|
||||
|
||||
if self.requires_restart():
|
||||
InvenTreeSetting.set_setting('SERVER_REQUIRES_RESTART', True, None)
|
||||
InvenTreeSetting.set_setting('SERVER_RESTART_REQUIRED', True, None)
|
||||
|
||||
"""
|
||||
Dict of all global settings values:
|
||||
|
Loading…
Reference in New Issue
Block a user