Mar-11-2019, 03:04 AM
Ok I have removed line 29. Out of all the things I have read online, your explanation is by far the clearest. Thank you so much!
When I try to put it in the if statement, I get the following:
It is telling me I need to define 'discover' in the if statement if I write it this way:
self._src_type(discover):
If I write it this way: self._src_type('discover'):
error is 'str' not callable
How (and this might sound naive) do I know if it needs to be self._src_type or just src._type? Its very confusing from the way it is written on line 21 with self._src_type = src._type from _init_. Is that not correct? Should it be written as self._src_type = src._type(discover)or should it be written as self._src_type = src._type = 'discover'? I am sure there is a huge difference, but if someone could explain it to me, I would appreciate it.
Thank you!
When I try to put it in the if statement, I get the following:
It is telling me I need to define 'discover' in the if statement if I write it this way:
self._src_type(discover):
If I write it this way: self._src_type('discover'):
error is 'str' not callable
How (and this might sound naive) do I know if it needs to be self._src_type or just src._type? Its very confusing from the way it is written on line 21 with self._src_type = src._type from _init_. Is that not correct? Should it be written as self._src_type = src._type(discover)or should it be written as self._src_type = src._type = 'discover'? I am sure there is a huge difference, but if someone could explain it to me, I would appreciate it.
Thank you!