Commit e90b03b6 authored by Chrysostomos Nanakos's avatar Chrysostomos Nanakos
Browse files

pithos: Fix select import error

If import statement fails to find Gevent's select use
Python select instead.
parent e88e8c23
......@@ -20,7 +20,11 @@ from archipelago import common
from archipelago.common import posixfd_signal_desc
from ctypes import cast, POINTER
import os
from gevent import select
try:
from gevent import select
except ImportError:
import select
def pithos_xseg_wait_signal_green(ctx, sd, timeout):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment