summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeistache <crie.fernanda@gmail.com>2015-02-28 17:48:59 -0300
committerMeistache <crie.fernanda@gmail.com>2015-02-28 17:48:59 -0300
commit12547822223e1e29dbd47c5f4c82d8a10870fe3b (patch)
tree0d0febdf844c43f439b0bb7caa57bbe36e583450
parentaf083886bb63fa9e3ea7f9ce2fb13aaefd6ea84f (diff)
downloadmanamarket-12547822223e1e29dbd47c5f4c82d8a10870fe3b.tar.gz
manamarket-12547822223e1e29dbd47c5f4c82d8a10870fe3b.tar.bz2
manamarket-12547822223e1e29dbd47c5f4c82d8a10870fe3b.tar.xz
manamarket-12547822223e1e29dbd47c5f4c82d8a10870fe3b.zip
Minor fix on get_next_id usage on stack tree
-rw-r--r--tradey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tradey.py b/tradey.py
index aecce86..bdeb52d 100644
--- a/tradey.py
+++ b/tradey.py
@@ -156,8 +156,8 @@ class StackTree(ItemTree):
self.root.remove(elem)
self.remove_id(uid)
self.save()
- self.get_next_id()
return 1
+ self.get_next_id()
return -10
class DelistedTree(ItemTree):