Fix import statements and order (see #103)

This commit is contained in:
coderkun 2024-05-27 18:33:59 +02:00
commit 4ebfc12f0e
10 changed files with 13 additions and 27 deletions

View file

@ -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