Merge pull request #79 from Arcanemagus/no-empty-sessionID

Exit if a sessionID wasn't provided
This commit is contained in:
blacktwin 2018-06-21 06:33:45 -04:00 committed by GitHub
commit 593b405e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: