diff options
| author | sage <[email protected]> | 2022-02-10 16:49:20 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:20 +0300 | 
| commit | 2896882074ce784b7cabc4f2f7c502db74b34b80 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yson | |
| parent | c723492f2f326fd7c6597bac45e58cd98a254dba (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson')
| -rw-r--r-- | library/cpp/yson/node/pybind/node.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yson/node/pybind/node.cpp b/library/cpp/yson/node/pybind/node.cpp index 8b8340fa634..79beba36471 100644 --- a/library/cpp/yson/node/pybind/node.cpp +++ b/library/cpp/yson/node/pybind/node.cpp @@ -59,10 +59,10 @@ namespace NPyBind {              res = TString();              return FromPyObject(obj, res.As<TString>());          } -        if (PyBytes_Check(obj)) {  -            res = TString();  -            return FromPyObject(obj, res.As<TString>());  -        }  +        if (PyBytes_Check(obj)) { +            res = TString(); +            return FromPyObject(obj, res.As<TString>()); +        }  #endif          if (PyList_Check(obj)) {              res = NYT::TNode::CreateList();  | 
