Skip to content

Commit 6635526

Browse files
committed
ruff happy
1 parent fb4b6e1 commit 6635526

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ess/reflectometry/orso.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
of reference runs and only use the metadata of the sample run.
77
"""
88

9+
import datetime
910
import os
1011
import platform
11-
from datetime import datetime, timezone
1212
from typing import NewType
1313

1414
import numpy as np
@@ -152,7 +152,7 @@ def build_orso_reduction(creator: OrsoCreator) -> OrsoReduction:
152152
version=str(__version__),
153153
platform=platform.system(),
154154
),
155-
timestamp=datetime.now(tz=timezone.utc),
155+
timestamp=datetime.datetime.now(tz=datetime.UTC),
156156
creator=creator,
157157
corrections=[],
158158
)

0 commit comments

Comments
 (0)