As per PyGithub#1210 slash at beginning of path cannot be used. Fix: #293
Additionally, due to change of branch naming convention, starting from 1st October 2020, all new repositories are having main instead of master branch.
Due to PyGithub#1222 and PyGithub#1223 get_contents should be used instead of `get_file_contents.
As per PyGithub#1210 slash at beginning of path cannot be used. Fix: #293
Additionally, due to change of branch naming convention, starting from 1st October 2020, all new repositories are having main instead of master branch.
Due to PyGithub#1222 and PyGithub#1223 get_contents should be used instead of `get_file_contents.
From: #295