Skip to content

Commit

Permalink
Remove un-needed log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
stargateaudio committed Dec 19, 2021
1 parent 9f87e5e commit 02edd0c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sglib/models/stargate/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,12 +493,10 @@ def to_short_audio_file_path(self, path: str) -> str:
result = path.replace(samples_dir, "", 1)
if IS_WINDOWS:
result = f"{result[0]}:{result[1:]}"
LOG.info("Starts with sample dir")
return result
elif path.startswith(audio_dir):
# Specifically, any folder under project/audio except for the
# samples/ folder that caches everything else
LOG.info("Starts with audio dir")
return path.replace(audio_dir, '!', 1)
return path

Expand Down

0 comments on commit 02edd0c

Please sign in to comment.