egirault / googleplay-api

Google Play Unofficial Python API - This project was a PoC and is not maintained anymore. Please feel free to fork it and improve it in any way.
879 stars 373 forks source link

Impossible to use googleplay as a library in another project due to config.py throwing exceptions #19

Open guss77 opened 11 years ago

guss77 commented 11 years ago

I'm trying to use GooglePlayAPI from the googleplay module as a library in another project, and when I try to create an instance of GooglePlayAPI (with an android ID passed in the constructor) I get an exception from config.py that I didn't edit it.

Eventually I had to edit config.py and remove the test there, as it made it impossible to start multiple instances of GooglePlayAPI with different device IDs.

Either load config.py only from the command line tools, or allow some option to disable this exception when using GooglePlayAPI from another program.

mbrevda commented 11 years ago

+1