From 8808d7a330c610bc27b48988092a503f222e069e Mon Sep 17 00:00:00 2001 From: Kevin Schoedel <67607049+kpschoedel@users.noreply.github.com> Date: Fri, 10 Dec 2021 13:50:03 -0500 Subject: [PATCH] fix gh_sizes.py (#12902) --- scripts/tools/memory/gh_sizes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tools/memory/gh_sizes.py b/scripts/tools/memory/gh_sizes.py index 0468d0bc82dc28..6e11cf9b7e770f 100755 --- a/scripts/tools/memory/gh_sizes.py +++ b/scripts/tools/memory/gh_sizes.py @@ -113,9 +113,9 @@ 'timestamp': { 'help': 'Build timestamp', 'metavar': 'TIME', - 'default': int( + 'default': int(float( os.environ.get('GH_EVENT_TIMESTAMP') - or datetime.datetime.now().timestamp()), + or datetime.datetime.now().timestamp())), }, }