Spaces:
Runtime error
Runtime error
Dmitry Kirsanov commited on
Commit ·
0ebd574
1
Parent(s): 082d0f1
more debug
Browse files
fad.py
CHANGED
|
@@ -245,6 +245,7 @@ class Fad:
|
|
| 245 |
|
| 246 |
def add_property_to_mark(self, fad, notetype, mark_n, property, value, valuetype, startfrom=0):
|
| 247 |
noteid = self.get_note_for_mark_n(fad, notetype, mark_n, startfrom)
|
|
|
|
| 248 |
if valuetype != None: # we're setting value to ref to a note whose type is valuetype
|
| 249 |
id = self.get_note_by_value(value, valuetype)
|
| 250 |
print (f"id = self.get_note_by_value(value, valuetype): {id}, {value},{valuetype}")
|
|
|
|
| 245 |
|
| 246 |
def add_property_to_mark(self, fad, notetype, mark_n, property, value, valuetype, startfrom=0):
|
| 247 |
noteid = self.get_note_for_mark_n(fad, notetype, mark_n, startfrom)
|
| 248 |
+
print(f"noteid = self.get_note_for_mark_n(fad, notetype, mark_n, startfrom): {noteid} = {fad} {notetype} {mark_n} {startfrom}")
|
| 249 |
if valuetype != None: # we're setting value to ref to a note whose type is valuetype
|
| 250 |
id = self.get_note_by_value(value, valuetype)
|
| 251 |
print (f"id = self.get_note_by_value(value, valuetype): {id}, {value},{valuetype}")
|