Skip to content

Commit

Permalink
Update main_lib.py
Browse files Browse the repository at this point in the history
Use _Clock
  • Loading branch information
Qirky committed Sep 23, 2019
1 parent 64658f2 commit 6a8c355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FoxDot/lib/Code/main_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def load_startup_file(self):
def __call__(self, code, verbose=True, verbose_error=None):
""" Takes a string of FoxDot code and executes as Python """

if self.namespace['Clock'].waiting_for_sync:
if self.namespace['_Clock'].waiting_for_sync:

time.sleep(0.25)
return self.__call__(code, verbose, verbose_error)
Expand Down Expand Up @@ -277,4 +277,4 @@ def instances(module, cls):

def functions(module):
""" Returns a list of function names defined in module """
return [name for name, data in vars(module).items() if type(data) == FunctionType]
return [name for name, data in vars(module).items() if type(data) == FunctionType]

0 comments on commit 6a8c355

Please sign in to comment.