From dbcfb7122404a628dec5c8ab3ab01cd6a08cfcf0 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Sun, 17 Jul 2022 14:15:15 +0300 Subject: [PATCH] minor correction --- app/ui/uicommons.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/ui/uicommons.py b/app/ui/uicommons.py index 10b9dd16..f26dc6a0 100644 --- a/app/ui/uicommons.py +++ b/app/ui/uicommons.py @@ -2,7 +2,7 @@ # # The MIT License (MIT) # -# Copyright (c) 2018-2021 Dmitriy Yefremov +# Copyright (c) 2018-2022 Dmitriy Yefremov # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -86,8 +86,8 @@ if IS_LINUX: try: gi.require_version("Notify", "0.7") from gi.repository import Notify - except ImportError: - pass + except (ImportError, ValueError): + pass # NOP else: NOTIFY_IS_INIT = Notify.init("DemonEditor") elif IS_DARWIN: