Quote:
Originally Posted by kovidgoyal
@Terisa: From that traceback you appear to be creating a new db instance. Dont do that, instead use the db instance passed into the postadd method.
|
kovid, there is a problem with this approach that I'm not able to understand. I'm updating the config in the database but when I add a file, the postadd method doesn't get the updated configuration but the previous one. How can I update the info both in the database and the memory copy?