Fixed issue where absolute paths to profiles got squashed
This commit is contained in:
parent
9fb08387de
commit
b6c6e414b1
|
|
@ -114,7 +114,7 @@ class Script():
|
|||
|
||||
# Path was not found in any known examples, check if it's an abolute path
|
||||
if os.path.isfile(self.profile):
|
||||
return os.path.basename(self.profile)
|
||||
return self.profile
|
||||
|
||||
raise ProfileNotFound(f"File {self.profile} does not exist in {examples}")
|
||||
elif parsed_url.scheme in ('https', 'http'):
|
||||
|
|
|
|||
Loading…
Reference in New Issue