Apply suggestions from code review

This commit is contained in:
dirkf 2023-01-30 01:36:28 +00:00 committed by GitHub
parent cbbc8b9fe0
commit 15b7c5091a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ class Aria2pFD(ExternalFD):
try:
import aria2p
__avail = True
except ModuleNotFoundError:
except ImportError:
__avail = False
@classmethod