diff -r fd477cded1c1 -r 4a0f1f896341 eric6/PluginManager/PluginInstallDialog.py --- a/eric6/PluginManager/PluginInstallDialog.py Thu Apr 08 17:27:12 2021 +0200 +++ b/eric6/PluginManager/PluginInstallDialog.py Thu Apr 08 18:27:47 2021 +0200 @@ -569,7 +569,7 @@ @param pluginFileName name of the plugin file (string) @param packageName name of the plugin package (string) """ - if packageName == "" or packageName == "None": + if packageName in ("", "None"): packageDir = None else: packageDir = os.path.join(destination, packageName)