forked from indymedia/epicyon
Check domain variable exists
parent
d9d0c886f8
commit
a464b43806
|
@ -237,7 +237,7 @@ if args.changepassword:
|
|||
print('Passwords file not found')
|
||||
sys.exit()
|
||||
|
||||
if not args.domain:
|
||||
if not args.domain and not domain:
|
||||
print('Specify a domain with --domain [name]')
|
||||
sys.exit()
|
||||
|
||||
|
|
Loading…
Reference in New Issue