ygbr / mapsnap

Apple MapKit Snapshots on Python

Home Page:https://mapsnap.ygor.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for providing the key as a bytes

ygbr opened this issue · comments

If the _key parameter is an instance of bytes, we will try to use it as the key itself instead of opening the path.

If the _key parameter is an instance of str, we will continue the standard behaviour and assume it is a path which we will continue trying to open it as a path provided to open()