2014-02-18, 09:31
I'm trying to use the newer Requests2 module, but I don't understand how to call it to make sure I'm using it instead of Requests (if that exists on the person's system).
In my addon.xml I have:
Which does download script.module.requests2 properly.
But if I try:
I get an error saying that the module requests2 doesn't exist. If I do:
It works fine. OK, but what happens if someone has both script.module.requests and script.module.requests2 on their system? Which one will get used?
Basically until I figure this out the Artist Slideshow in the repo is broken.
In my addon.xml I have:
Code:
<import addon="script.module.requests2" version="2.2.1"/>
Which does download script.module.requests2 properly.
But if I try:
Code:
import requests2
I get an error saying that the module requests2 doesn't exist. If I do:
Code:
import requests
It works fine. OK, but what happens if someone has both script.module.requests and script.module.requests2 on their system? Which one will get used?
Basically until I figure this out the Artist Slideshow in the repo is broken.