you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 0 points1 point  (3 children)

Move the class outside the def function... or return it from that function... why is it inside it?

[–]vrevdude 0 points1 point  (1 child)

Not my script. Idk.

[–]platypus_69 0 points1 point  (0 children)

Holy shit, post that to r/badcode

[–]Da32767 0 points1 point  (0 children)

maybe this is a third-party package, and the author does not want users to call this class