Skip to content

Commit 8b80bb0

Browse files
committed
Partial version of this: #38
1 parent d3f506e commit 8b80bb0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

albow/core/CoreUtilities.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
class CoreUtilities:
5454

55-
time_base = 0
55+
timeBase = 0
5656

5757
"""
5858
A static class for some leftover module functions
@@ -72,5 +72,5 @@ def add_modifiers(event):
7272
@staticmethod
7373
def init_timebase():
7474

75-
CoreUtilities.time_base = time() * 1000.0 - get_ticks()
76-
print(f"time_base: {str(CoreUtilities.time_base)}")
75+
CoreUtilities.timeBase = time() * 1000.0 - get_ticks()
76+
print(f"timeBase: {str(CoreUtilities.timeBase)}")

albow/core/Scheduler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def thunk():
9191
@staticmethod
9292
def timestamp():
9393

94-
return time() * 1000.0 - CoreUtilities.time_base
94+
return time() * 1000.0 - CoreUtilities.timeBase
9595

9696
@staticmethod
9797
def cancel_call(token):

0 commit comments

Comments
 (0)