matteomattei / PySquashfsImage

Python library to read Squashfs image files.
GNU General Public License v3.0
50 stars 20 forks source link

New `pysquashfsimage` command, strings for names and paths, argparse #22

Closed AT0myks closed 1 year ago

AT0myks commented 1 year ago

I would also like to mention that half of the code in the main (everything that's in the else) has always been unreachable. len(sys.argv) <= 1 means there's no argument, so no image to open, and sys.argv[1] raises an IndexError anyway.