Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Nov 23, 2023
1 parent c637a9b commit c035807
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ofscraper/utils/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ def create_parser(input=None):
def getargs(input=None):
global args
import multiprocessing
print(multiprocessing.parent_process())
if args and input==None:
return args
if "pytest" in sys.modules and input==None:
Expand Down Expand Up @@ -270,8 +269,6 @@ def getargs(input=None):
raise argparse.ArgumentTypeError("error: argument missing --username or --file must be specified )")
elif args.command in set(["manual"])and not (args.url or args.file):
raise argparse.ArgumentTypeError("error: argument missing --url or --file must be specified )")
print(args)
sys.exit()
return args


Expand Down

0 comments on commit c035807

Please sign in to comment.