Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few minor changes #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

A few minor changes #9

wants to merge 4 commits into from

Conversation

jorgeas80
Copy link

@jorgeas80 jorgeas80 commented Apr 12, 2020

To summarize:

  • Allow a path to a directory that will be recursively traveled to look for jpg files, instead of file names list. It has the limitation that just detect .jpg files.
  • Remove client_id.json for repo. The current file was outdated, and you can just use --auth flag, anyway
  • PEP8 formatting for upload.py

* Removing client_id.json from repo and rely on file path passed as --auth option, with a default value of client_secret.json. The credentials file shouldn't be part of the repo, because it will always require manual changing (doesn't like it), and it can be outdated (as example, the token_uri url was wrong in the existent client_id.json file).
* Passing the credentials file path to auth function, instead of using the hardcoded client_id.json value
* Apply PEP8 formatting to upload.py file
@siriak
Copy link

siriak commented Apr 13, 2020

How can I upload a single photo without having to create a folder containing only this photo?

@hitnrun30
Copy link

it would be great if your commits were pushed. What would be nice is if you allow video as well

it would be great if it created a db of all the data on photos then compared it to a folders lowest level folders to see if that album exists if it doesnt, push it, if it does see if the files exists, if it doesnt, push it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants