mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix OS environment repository detection override
This commit is contained in:
parent
c3eb5fd8b0
commit
3050bf1476
@ -215,7 +215,7 @@ class EnvDetector(Detector):
|
|||||||
super(EnvDetector, self).__init__(type_name, "{} environment".format(type_name))
|
super(EnvDetector, self).__init__(type_name, "{} environment".format(type_name))
|
||||||
|
|
||||||
def _is_repo_type(self, script_path):
|
def _is_repo_type(self, script_path):
|
||||||
return VCS_REPO_TYPE.get(default="").lower() == self.type_name and bool(
|
return VCS_REPO_TYPE.get().lower() == self.type_name and bool(
|
||||||
VCS_REPOSITORY_URL.get()
|
VCS_REPOSITORY_URL.get()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user