diff options
author | 2022-06-15 14:29:02 +0200 | |
---|---|---|
committer | 2022-06-29 11:14:23 +0000 | |
commit | 625b8361b37635f6be970f0706d6f49c6f57e8db (patch) | |
tree | 7d59a67af104750af0fd8d734cf9e5263d9c51d0 /resources/tools/dash/app/pal/__init__.py | |
parent | e9149805adb068696d0a00abbac28100282b29b5 (diff) |
UTI: Add comments and clean the code.
Change-Id: I6fba9aac20ed22c2ae1450161edc8c11ffa1e24d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/__init__.py')
-rw-r--r-- | resources/tools/dash/app/pal/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/tools/dash/app/pal/__init__.py b/resources/tools/dash/app/pal/__init__.py index f66edceafc..9f80c5fcaa 100644 --- a/resources/tools/dash/app/pal/__init__.py +++ b/resources/tools/dash/app/pal/__init__.py @@ -57,6 +57,7 @@ def init_app(): assets = Environment() assets.init_app(app) + # Set the time period for Trending if TIME_PERIOD is None or TIME_PERIOD > MAX_TIME_PERIOD: time_period = MAX_TIME_PERIOD else: |