Page MenuHomePhorge

D25830.1746626720.diff
No OneTemporary

D25830.1746626720.diff

diff --git a/src/applications/files/document/PhabricatorJupyterDocumentEngine.php b/src/applications/files/document/PhabricatorJupyterDocumentEngine.php
--- a/src/applications/files/document/PhabricatorJupyterDocumentEngine.php
+++ b/src/applications/files/document/PhabricatorJupyterDocumentEngine.php
@@ -323,7 +323,7 @@
}
$nbformat = idx($data, 'nbformat');
- if (!strlen($nbformat)) {
+ if (!phutil_nonempty_string($nbformat)) {
throw new Exception(
pht(
'This document is missing an "nbformat" field. Jupyter notebooks '.

File Metadata

Mime Type
text/plain
Expires
Wed, May 7, 14:05 (7 h, 35 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113951
Default Alt Text
D25830.1746626720.diff (573 B)

Event Timeline