mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-04 18:22:26 +00:00
fix windows case
This commit is contained in:
parent
995eeaf2d0
commit
070a022b90
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,6 @@
|
|||
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import getpass
|
||||
import grp
|
||||
import os
|
||||
import pwd
|
||||
import ssl
|
||||
|
@ -29,6 +28,9 @@ from typing import Callable, Sequence, Tuple, Type, TypeVar, Union
|
|||
from radicale import config
|
||||
from radicale.log import logger
|
||||
|
||||
if sys.platform != "win32":
|
||||
import grp
|
||||
|
||||
_T_co = TypeVar("_T_co", covariant=True)
|
||||
|
||||
RADICALE_MODULES: Sequence[str] = ("radicale", "vobject", "passlib", "defusedxml",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue