#python question
1 messages · Page 1 of 1 (latest)
(I didn't want to clutter the channel with what is probably a basic python question.)
Does self._secrets mean the module is looking for a variable within itself named secrets?
self is not a module (Python namespace with variables/classes/etc), but an instance of a class
but yeah, code is failing because a method tries to read an attribute from the instance of that class, but such attribute doesn't exist and it raises an exception, which you can clearly read on the last line:
'Network' object has no attribute '_secrets'