mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-10 02:18:41 +00:00
[#2818] [WebUI] Fix AttributeError starting WebUI on windows
This commit is contained in:
parent
c821cdd9c7
commit
c274d5114c
1 changed files with 11 additions and 10 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue