Merge pull request #79 from Arcanemagus/no-empty-sessionID
Exit if a sessionID wasn't provided
This commit is contained in:
commit
593b405e85
@ -264,6 +264,10 @@ if __name__ == "__main__":
|
||||
|
||||
opts = parser.parse_args()
|
||||
|
||||
if not opts.sessionId:
|
||||
sys.stderr.write("No sessionId provided! Is this synced content?\n")
|
||||
sys.exit(1)
|
||||
|
||||
if opts.killMessage:
|
||||
message = ' '.join(opts.killMessage)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user