Skip to content

Commit dfad000

Browse files
author
Roland Hedberg
committed
Merge pull request #264 from igorpejic/master
Fix before time_util function.
2 parents 28cbceb + b887abf commit dfad000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/time_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def before(point):
280280
elif isinstance(point, int):
281281
point = time.gmtime(point)
282282

283-
return time.gmtime() < point
283+
return time.gmtime() <= point
284284

285285

286286
def after(point):

0 commit comments

Comments
 (0)