Skip to content

Commit

Permalink
Python fixes (#100)
Browse files Browse the repository at this point in the history
* Added missing methods to MadaraKnowledge.cpp

* Modified .toi method for knowledgeRecord
  • Loading branch information
ssabatier authored and jredmondson committed Sep 27, 2018
1 parent db28f9d commit bd45e1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions port/python/src/MadaraKnowledge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ void define_knowledge (void)

;


class_<madara::knowledge::KnowledgeRecord> (
"KnowledgeRecord",
"Basic unit of knowledge", init <> ())
Expand Down Expand Up @@ -775,7 +774,7 @@ void define_knowledge (void)
&madara::knowledge::KnowledgeRecord::quality,
"write priority for any local updates")

.def_readwrite("toi",
.def("toi",
&madara::knowledge::KnowledgeRecord::toi,
"last modification system clock time (time of insertion)")

Expand Down

0 comments on commit bd45e1a

Please sign in to comment.