Skip to content

Instantly share code, notes, and snippets.

@NimishMishra
Created June 20, 2020 03:21
Show Gist options
  • Save NimishMishra/31615e23a3047075af089eed592d0659 to your computer and use it in GitHub Desktop.
Save NimishMishra/31615e23a3047075af089eed592d0659 to your computer and use it in GitHub Desktop.
def command_handler(target_client):
data = str(input())
try:
data.index('file')
file_handler(target_client, data)
return
except:
pass
send_data(data, target_client)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment