Mar-10-2019, 01:46 AM
Based on those specifications you should get rid of line 29. You need to replace it with an if statement to check if _src_type is discover. Then indent all the code currently in get_values so that it is under the if statement.
If you use def to define a function or method, that just stores the code to be run later. It is not run until you call the function or method.
If you use def to define a function or method, that just stores the code to be run later. It is not run until you call the function or method.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures