Fix import statements and order (see #103)
This commit is contained in:
parent
a1f8b73590
commit
4ebfc12f0e
10 changed files with 13 additions and 27 deletions
|
|
@ -5,7 +5,7 @@ try:
|
|||
gi.require_version('Avahi', '0.6')
|
||||
from gi.repository import Avahi
|
||||
use_avahi = True
|
||||
except:
|
||||
except ValueError | ImportError:
|
||||
use_avahi = False
|
||||
import logging
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue