Skip to content

Commit b178197

Browse files
committed
src (fix): UTC -> utc
1 parent f2e3116 commit b178197

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "practable"
7-
version = "0.0.21"
7+
version = "0.0.22"
88
authors = [
99
{ name="Timothy Drysdale", email="timothy.d.drysdale@gmail.com" },
1010
]

src/practable/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def get_activity(self, booking):
260260

261261
#remove stale activities
262262
activities = self.activities
263-
now = datetime.now(timezone.UTC)
263+
now = datetime.now(timezone.utc)
264264
for activity in activities:
265265
if datetime.fromtimestamp(activity["exp"], tz=timezone.utc) > now:
266266
del self.activities[activity]
@@ -767,4 +767,4 @@ def printProgressBar(iteration,
767767
plt.plot(t/1e3,cs,':r',label="set point")
768768
plt.xlabel("time(s)")
769769
plt.ylabel("position(rad)")
770-
plt.legend()""")
770+
plt.legend()

0 commit comments

Comments
 (0)