from yeti import Module
import asyncio

class GameClock(Module):
    """
    A built-in module for keeping track of current game mode.
    """

    _teleop = False
    _autonomous = False
    _disabled = False

    def module_init(self):
        pass

    def teleop(self):
        self._teleop = True
        self._autonomous = False
        self._disabled = False

    def autonomous(self):
        self._teleop = False
        self._autonomous = True
        self._disabled = False

    def disabled(self):
        self._teleop = False
        self._autonomous = False
        self._disabled = True

    def is_teleop(self):
        return self.teleop

    def is_autonomous(self):
        return self.autonomous

    def is_enabled(self):
        return not self.disabled

    def is_disabled(self):
        return self.disabled

@@ -21,22 +21,8 @@
 ule%0A
-import asyncio
 %0A%0Acl
@@ -241,24 +241,29 @@
   def teleop
+_init
 (self):%0A    
@@ -361,32 +361,37 @@
   def autonomous
+_init
 (self):%0A        
@@ -483,32 +483,37 @@
     def disabled
+_init
 (self):%0A        
@@ -642,16 +642,17 @@
 rn self.
+_
 teleop%0A%0A
@@ -700,16 +700,17 @@
 rn self.
+_
 autonomo
@@ -759,24 +759,25 @@
 rn not self.
+_
 disabled%0A%0A  
@@ -821,16 +821,17 @@
 rn self.
+_
 disabled

Fix gameclock module