diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-20 23:28:50 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-20 23:28:50 +0100 |
| commit | 30265efd64167e9fd6b5a489bd7f8239b496ed35 (patch) | |
| tree | adf29e6e21cd8ed53f6cb133cc0d11652bba1a1b /cli/app/site/export.py | |
| parent | 5bd7c56c63559d6f8c05d50735895efa429d6dd6 (diff) | |
defer appearance of items on a timer. setup ok for julia and charles popups
Diffstat (limited to 'cli/app/site/export.py')
| -rw-r--r-- | cli/app/site/export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/site/export.py b/cli/app/site/export.py index 67b9538..aa74165 100644 --- a/cli/app/site/export.py +++ b/cli/app/site/export.py @@ -102,7 +102,7 @@ def sanitize_graph(graph): if 'url' in tile['settings'] and tile['settings']['url'].startswith('/static'): tile['settings']['url'] = '/' + graph['path'] + tile['settings']['url'] if len(tile['settings'].get('appear_after', "")): - tile['settings']['appear_after'] = timestampToSeconds(tile['settings']['appear_after']) + tile['settings']['appear_after'] = timestampToSeconds(tile['settings']['appear_after']) or 0 sanitize_tile(tile) page_path = page_path_lookup[page['id']] page_lookup[page_path] = page |
