--- a/src/eric7/PipInterface/PipLicensesDialog.py Sun Nov 06 11:22:39 2022 +0100 +++ b/src/eric7/PipInterface/PipLicensesDialog.py Mon Nov 07 17:19:58 2022 +0100 @@ -7,6 +7,7 @@ Module implementing a dialog to show the licenses of an environment. """ +import csv import os import re @@ -179,8 +180,6 @@ """ Private slot to save the license information as a CSV file. """ - import csv - fileName, selectedFilter = EricFileDialog.getSaveFileNameAndFilter( self, self.tr("Save as CSV"),