summaryrefslogtreecommitdiff
path: root/postgresqleu/util/jsonutil.py
diff options
context:
space:
mode:
authorMagnus Hagander2022-04-19 19:28:53 +0000
committerMagnus Hagander2022-04-19 19:28:53 +0000
commitca9be3d90d4b105cd0af9933538f8dfa86cab10f (patch)
treecf5777adfa19db84a835b96cfa956f36e2dbdcf1 /postgresqleu/util/jsonutil.py
parentcd659150a9513fc495f716a8f9cb1554b14b6cc6 (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