mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 20:43:37 +01:00
fxconv: fix bad detection of fxconv-metadata.txt for relative paths
This commit is contained in:
parent
1a443454c9
commit
8c966821e8
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ def main():
|
|||
|
||||
# In automatic mode, look for information in fxconv-metadata.txt
|
||||
if mode == "":
|
||||
metadata_file = os.path.dirname(input) + "/fxconv-metadata.txt"
|
||||
metadata_file = os.path.join(os.path.dirname(input),
|
||||
"fxconv-metadata.txt")
|
||||
|
||||
if not os.path.exists(metadata_file):
|
||||
return err(f"using auto mode but {metadata_file} does not exist")
|
||||
|
|
Loading…
Reference in a new issue