in03 / proxima

Transcode source media directly from DaVinci Resolve using multiple machines for encoding. Great for creating proxies quickly.
MIT License
50 stars 3 forks source link

AttributeError: 'Build' object has no attribute 'git_sha' #254

Closed in03 closed 1 year ago

in03 commented 1 year ago
    def __init__(self, package_name: str, package_path: str):
        self.package_name = package_name
        self.package_path = package_path

        try:
            self.repo = Repo(self.package_path, search_parent_directories=True)
            self.git_sha = self.repo.commit().hexsha
            self.git_url = self.repo.remote("origin").url

        except InvalidGitRepositoryError:
            logger.debug("[magenta]Not a git repository")

self.git_sha and self.git_url are not initialised as None.

in03 commented 1 year ago

/cib

github-actions[bot] commented 1 year ago

Branch bugfix/issue-254-AttributeError-Build-object-has-no-attribute-git_sha created!

in03 commented 1 year ago

Fixed