diff options
author | Magnus Hagander | 2022-04-19 19:28:53 +0000 |
---|---|---|
committer | Magnus Hagander | 2022-04-19 19:28:53 +0000 |
commit | ca9be3d90d4b105cd0af9933538f8dfa86cab10f (patch) | |
tree | cf5777adfa19db84a835b96cfa956f36e2dbdcf1 /postgresqleu/util/jsonutil.py | |
parent | cd659150a9513fc495f716a8f9cb1554b14b6cc6 (diff) |
Don't crash on campaign preview with no sessions
The preview of campaign text won't produce anything useful when there
are no sessions at all avaliable, it it shouldn't crash. Instead, we'll
just return lengt 0 because we can't do anything useful.
Fixes #77
Diffstat (limited to 'postgresqleu/util/jsonutil.py')
0 files changed, 0 insertions, 0 deletions