aboutsummaryrefslogtreecommitdiff
path: root/Commands
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-02-17 00:01:56 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-02-17 00:01:56 -0500
commitc848f1d90fef40ffa81915d7dd875a2ee6d6c8d5 (patch)
tree15d57b08e69d19fb4c2f3effb9937aec8d042bdc /Commands
parentd7b0c0f3b7129cf3beaaa66bbb6d64bdd35deb78 (diff)
downloadDLAP-c848f1d90fef40ffa81915d7dd875a2ee6d6c8d5.tar.gz
DLAP-c848f1d90fef40ffa81915d7dd875a2ee6d6c8d5.tar.bz2
DLAP-c848f1d90fef40ffa81915d7dd875a2ee6d6c8d5.zip
Fixed status command
Diffstat (limited to 'Commands')
-rw-r--r--Commands/status.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/Commands/status.js b/Commands/status.js
index fcc6c08..ee02126 100644
--- a/Commands/status.js
+++ b/Commands/status.js
@@ -56,6 +56,8 @@ export default {
} catch (error) {
console.error(error.message);
}
+ } else {
+ audioName = audioName.split('.').slice(0, -1).join('.');
}
}