Skip to content

Commit

Permalink
missing bindings raises a ValueError...
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 15, 2023
1 parent 6384917 commit b4d3b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/client/mixins/network_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_NM_adapter_type(device_name) -> str:
import gi
gi.require_version("NM", "1.0")
from gi.repository import NM
except ImportError:
except (ImportError, ValueError):
log("get_NM_adapter_type() no network-manager bindings")
return ""
nmclient = NM.Client.new(None)
Expand Down

0 comments on commit b4d3b84

Please sign in to comment.