diff options
Diffstat (limited to 'issues/binderlite/return-canned-text-if-notebook-description-returns-none.gmi')
-rw-r--r-- | issues/binderlite/return-canned-text-if-notebook-description-returns-none.gmi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/issues/binderlite/return-canned-text-if-notebook-description-returns-none.gmi b/issues/binderlite/return-canned-text-if-notebook-description-returns-none.gmi new file mode 100644 index 0000000..49f5d3f --- /dev/null +++ b/issues/binderlite/return-canned-text-if-notebook-description-returns-none.gmi @@ -0,0 +1,25 @@ +# Return canned text if notebook description returns none + +* bug? +* assigned: jgart + +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? |