Jump to content

Pineapple running cached copy of module python code?


Recommended Posts

I'm working on a module with a backend python script, and I've noticed that the pineapple is running an older copy of the python code strangely, even when I completely delete the module and update it with the new code. 

Looking in /pineapple/modules at the source code I've confirmed that python code is updated, yet I get responses that match older copies of the script. Rebooting the pineapple seems to fix this. 

This is really making development a challenge, is there some caching scheme going on? I'm baffled that completely removing/deleting the module in the UI and re-uploading the updated code doesn't always update the python logic. The UI itself seems to update fine though. 

What's going on here, and how to I refresh the entire module without having to reboot?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...