mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
feat(rv): tweaked how path to rv is handled
This commit is contained in:
parent
ee3f9571ca
commit
0e9ce8010a
1 changed files with 1 additions and 4 deletions
|
|
@ -71,10 +71,7 @@ class RVAction(BaseAction):
|
|||
self.config_data = data
|
||||
|
||||
def set_rv_path(self):
|
||||
for path in self.config_data.get("rv_paths", []):
|
||||
if os.path.exists(path):
|
||||
self.rv_path = path
|
||||
break
|
||||
self.rv_path = self.config_data.get("rv_path")
|
||||
|
||||
def register(self):
|
||||
assert (self.rv_path is not None), (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue