plazi / lycophron

Batch uploader to Zenodo
Creative Commons Zero v1.0 Universal
2 stars 5 forks source link

env: take advantage of environment to configure better defaults #36

Open slint opened 7 months ago

slint commented 7 months ago

I guess this is only needed for local developemnt, when calling localhost, probably we should use a dev flag to enable/disable this?

        if self.config["ENV"] == "development"
             client.session.verify = False

_Originally posted by @jrcastro2 in https://github.com/plazi/lycophron/pull/32#discussion_r1474040131_