diff --git a/isrcsubmit.py b/isrcsubmit.py index d0c1a27..a959184 100755 --- a/isrcsubmit.py +++ b/isrcsubmit.py @@ -1047,7 +1047,10 @@ def cleanup_isrcs(release, isrcs): user_input("(press when done with this ISRC) ") -def main(argv): +def main(argv=None): + if argv is None: + argv = sys.argv + global options global ws2