mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00
Fix for TypeError for implicit conversion
`package_import` is a list, and on Python 3.4 it must be implicitly converted to a string before concatenation.
This commit is contained in:
parent
5c6f05dd3e
commit
505ee3b939
@ -107,7 +107,7 @@ def get_locally_installed_packages():
|
||||
break
|
||||
if package_import_name == "":
|
||||
logging.debug(
|
||||
'Could not determine import name for package ' + package_import)
|
||||
'Could not determine import name for package ' + str(package_import))
|
||||
else:
|
||||
packages[package_import_name] = {
|
||||
'version': package[1].replace(".dist", ""),
|
||||
|
Loading…
x
Reference in New Issue
Block a user