[#2818] [WebUI] Fix AttributeError starting WebUI on windows
This commit is contained in:
parent
c821cdd9c7
commit
c274d5114c
@ -84,6 +84,7 @@ class Web(UI):
|
|||||||
if self.options.pidfile:
|
if self.options.pidfile:
|
||||||
open(self.options.pidfile, "wb").write("%d\n" % os.getpid())
|
open(self.options.pidfile, "wb").write("%d\n" % os.getpid())
|
||||||
|
|
||||||
|
if not windows_check():
|
||||||
if self.options.group:
|
if self.options.group:
|
||||||
if not self.options.group.isdigit():
|
if not self.options.group.isdigit():
|
||||||
import grp
|
import grp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user