blob: b734f5c290f81925290cbb5ed9caf8b7438b7140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Return canned text if notebook description returns none
## Tags
* type: bug
* assigned: jgart
* priority: high
* status: in progress
* keywords: binderlite, notebooks
## Description
Notebooks that do not have a description will use python's `None` value as the
project's description.
Should we return some other text instead?
We could do something like the following idea:
```
if notebook.description == None:
return "Project does not have a description."
```
Or we could do:
```
if notebook.description == None:
return "Could not retrieve description for project."
```
WDYT?
### 2022-03-16 fredm
I like the first one better
|