citronneur / rdpy

Remote Desktop Protocol in Twisted Python
GNU General Public License v3.0
1.67k stars 545 forks source link

Added command line argument count check #105

Open gspranesh4444 opened 4 years ago

gspranesh4444 commented 4 years ago

I have added a check on the number of arguments before accessing the argument value. Before this fix, execution of this file resulted in an error, if no arguments were passed in. Thanks!