Ok I have looked at similar questions but it didn't seem to help mine, but everyone's code is different and I am also a beginner at Python coding. Can someone help me figure this out so I can know how to deal with this next time it pops up?
        def run(self):
               while True:
                      c, a = self.sock.accept()
                      cThread = threading.Thread(target=self.handler, args=(c,a))
                      cThread.daemon = True
                      cThread.start()
                      self.connections.append(c)
                      print(self.connections)
The error I get point to: def run(self): exactly how it prints in the terminal.
edit: I have changed the screwed up part of the code as I didn't notice it till people pointed it out. Now it looks as it does in my laptop. But the problem still persists.
