]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Fix Typo: ModuleNotFound → ModuleNotFoundError
authorPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 16 Dec 2021 08:42:36 +0000 (09:42 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 16 Dec 2021 08:42:42 +0000 (09:42 +0100)
This fixes a typo introduced in #267

autorandr.py

index 1c4ac4ad94d315e6fb5ff38e233eb3219e67ddc6..c9c4f16985c9012ed9f9a92574fb389646314b7a 100755 (executable)
@@ -44,7 +44,7 @@ from itertools import chain
 
 try:
     from packaging.version import Version
-except ModuleNotFound:
+except ModuleNotFoundError:
     from distutils.version import LooseVersion as Version
 
 if sys.version_info.major == 2: