diff --git a/libpip2pi/__init__.py b/libpip2pi/__init__.py index ae80583..728d237 100644 --- a/libpip2pi/__init__.py +++ b/libpip2pi/__init__.py @@ -1 +1 @@ -__version__ = (1, 1, 1) +__version__ = (1, 1, 2) diff --git a/libpip2pi/commands.py b/libpip2pi/commands.py index d9cb261..ef76a67 100644 --- a/libpip2pi/commands.py +++ b/libpip2pi/commands.py @@ -397,15 +397,31 @@ def _dir2pi(option, argv): "name": escape(pkg_basename), }) - for pkg in os.listdir(pkgdir+'/simple'): - with open(os.path.join(pkg, "index.html"), "r+") as fp: - fp_content = fp.read() - fp.seek(0, 0) - fp_line = "