X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.py;h=64281715ac0a213f584eb66e41ea20936bde1bd7;hb=fa2d7bb797e9f0735f299cd19192ac3782475a96;hp=8971efa913688653b57d5f873895ed66156cd952;hpb=9b68db3414c847b241e4e8ce2a0a636521d10c5c;p=mimedecode.git diff --git a/mimedecode.py b/mimedecode.py index 8971efa..6428171 100755 --- a/mimedecode.py +++ b/mimedecode.py @@ -398,7 +398,7 @@ class GlobalOptions: gopts = GlobalOptions -def get_opt(): +def get_opts(): from getopt import getopt, GetoptError try: @@ -463,7 +463,7 @@ def get_opt(): if __name__ == "__main__": - arguments = get_opt() + arguments = get_opts() la = len(arguments) if la == 0: