[#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:
|
||||
open(self.options.pidfile, "wb").write("%d\n" % os.getpid())
|
||||
|
||||
if not windows_check():
|
||||
if self.options.group:
|
||||
if not self.options.group.isdigit():
|
||||
import grp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user