Browse Source

Guard against invalid combos of options

pull/31/head
Wesley Kerfoot 5 years ago
parent
commit
9bb624eaa5
  1. 3
      deletefb/deletefb.py

3
deletefb/deletefb.py

@ -78,6 +78,9 @@ def run_delete():
args = parser.parse_args()
if args.year and args.mode != "wall":
parser.error("The --year option is only supported in wall mode")
args_user_password = args.password or getpass.getpass('Enter your password: ')
driver = login(

Loading…
Cancel
Save