diff --git a/libs/jpg_bin.py b/libs/jpg_bin.py index 6d4b192..ffeac8e 100644 --- a/libs/jpg_bin.py +++ b/libs/jpg_bin.py @@ -258,7 +258,6 @@ class JpgBin: # def __repr__(self): - return repr(self.jpg_fp) # diff --git a/picseal.py b/picseal.py index 4f26648..367c361 100644 --- a/picseal.py +++ b/picseal.py @@ -79,7 +79,7 @@ def parseArgs(): print(" ** Pic * Seal ** ") print("***** ***** ***** *****\n") parser = argparse.ArgumentParser() - parser.add_argument('-i', '--image', required=False, help="source image file") + parser.add_argument('-f', '--file', required=False, help="source image file") parser.add_argument('-v', '--verbose', action='store_true', help="will set logging level to INFO") parser.add_argument('-vv', '--vverbose', action='store_true', help="will set logging level to DEBUG") parser.add_argument('-l', '--logging', action='store_true', help="will supercede the -v option and send all logging to a file, logging.DEBUG") @@ -110,8 +110,8 @@ def parseArgs(): global printimage printimage = True - if (args.image): - processImage(args.image) + if (args.file): + processImage(args.file) else: print('Create PicSeal images') print(' picseal.py -i ')