mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Removed unused import.
This commit is contained in:
parent
9e276c3ffb
commit
0296a1a99c
@ -11,7 +11,6 @@ from modules.auth import require
|
|||||||
from plugin_mount import PagePlugin, FormPlugin
|
from plugin_mount import PagePlugin, FormPlugin
|
||||||
from actions.privilegedactions import privilegedaction_run
|
from actions.privilegedactions import privilegedaction_run
|
||||||
import cfg
|
import cfg
|
||||||
import re
|
|
||||||
from forms import Form
|
from forms import Form
|
||||||
from model import User
|
from model import User
|
||||||
from util import *
|
from util import *
|
||||||
@ -64,7 +63,7 @@ class general(FormPlugin, PagePlugin):
|
|||||||
order = 30
|
order = 30
|
||||||
|
|
||||||
def help(self, *args, **kwargs):
|
def help(self, *args, **kwargs):
|
||||||
return _(#"""<strong>Time Zone</strong>
|
return _(#"""<strong>Time Zone</strong>
|
||||||
"""<p>Set your timezone to get accurate
|
"""<p>Set your timezone to get accurate
|
||||||
timestamps. %(product)s will use this information to set your
|
timestamps. %(product)s will use this information to set your
|
||||||
%(box)s's systemwide timezone.</p>
|
%(box)s's systemwide timezone.</p>
|
||||||
@ -108,8 +107,8 @@ class general(FormPlugin, PagePlugin):
|
|||||||
raise cherrypy.HTTPError(500, "Unknown Time Zone: %s" % kwargs['time_zone'])
|
raise cherrypy.HTTPError(500, "Unknown Time Zone: %s" % kwargs['time_zone'])
|
||||||
|
|
||||||
## And now, the form.
|
## And now, the form.
|
||||||
form = Form(title=_("General Config"),
|
form = Form(title=_("General Config"),
|
||||||
action="/sys/config/general/index",
|
action="/sys/config/general/index",
|
||||||
name="config_general_form",
|
name="config_general_form",
|
||||||
message=message )
|
message=message )
|
||||||
form.html(self.help())
|
form.html(self.help())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user