prepending new entries to the xdex now
This commit is contained in:
parent
d055e0b902
commit
9bc7d70f01
2
start.py
2
start.py
@ -38,7 +38,7 @@ def index():
|
|||||||
xdex[x]['comment'] = comment
|
xdex[x]['comment'] = comment
|
||||||
xdex[x]['status'] = '-'
|
xdex[x]['status'] = '-'
|
||||||
write_db('xdex.json', xdex)
|
write_db('xdex.json', xdex)
|
||||||
xs.append(x)
|
xs.insert(0, x)
|
||||||
else:
|
else:
|
||||||
# editing entry
|
# editing entry
|
||||||
x = submit
|
x = submit
|
||||||
|
Loading…
Reference in New Issue
Block a user