def clean_args(args):
 for arg in args.keys():
  if (not args[arg]):
   del args[arg]
 return args

def clean_args ( args ) : for arg in args . keys ( ) : if ( not args [ arg ] ) : del args [ arg ] return args
cleans up the args that werent passed in .