Skip to content

TagSpaces is an offline, open source, document manager with tagging support

correcting wrong console.log

uggrock5148cfad757b
diff --git a/data/electron/electron.api.js b/data/electron/electron.api.js
index 4bbe3629f..3f3c53043 100644
--- a/data/electron/electron.api.js
+++ b/data/electron/electron.api.js
@@ -39,7 +39,7 @@ define(function(require, exports, module) {
var filePath = TSCORE.Utils.getURLParameter("open");
filePath = decodeURIComponent(filePath);
if (filePath && (filePath.length > 0)) {
- console.log("Opening file in browser: " + openFile);
+ console.log("Opening file in browser: " + filePath);
TSCORE.FileOpener.openFileOnStartup(filePath);
}
}