From: Phillip Berndt Date: Thu, 16 Dec 2021 08:42:36 +0000 (+0100) Subject: Fix Typo: ModuleNotFound → ModuleNotFoundError X-Git-Tag: 1.12~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c78ca22a22eef1f77fc47a8dc3ed5dc2929d1ccc;p=deb_pkgs%2Fautorandr.git Fix Typo: ModuleNotFound → ModuleNotFoundError This fixes a typo introduced in #267 --- diff --git a/autorandr.py b/autorandr.py index 1c4ac4a..c9c4f16 100755 --- a/autorandr.py +++ b/autorandr.py @@ -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: