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

fix: AttributeError 'Build' object has no attribute 'git_sha' #255

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago
Original issue description ```python 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`.

closes #254