diff --git a/package.json b/package.json index f7adb24c..80a3c44d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.24.1", + "version": "3.24.2", "repository": { "url": "http://github.com/calzoneman/sync" }, diff --git a/src/server.js b/src/server.js index 99e67059..fb0fd9be 100644 --- a/src/server.js +++ b/src/server.js @@ -10,17 +10,17 @@ module.exports = { Logger.syslog.log("Starting CyTube v" + VERSION); var chanlogpath = path.join(__dirname, "../chanlogs"); fs.exists(chanlogpath, function (exists) { - exists || fs.mkdir(chanlogpath); + exists || fs.mkdirSync(chanlogpath); }); var chandumppath = path.join(__dirname, "../chandump"); fs.exists(chandumppath, function (exists) { - exists || fs.mkdir(chandumppath); + exists || fs.mkdirSync(chandumppath); }); var gdvttpath = path.join(__dirname, "../google-drive-subtitles"); fs.exists(gdvttpath, function (exists) { - exists || fs.mkdir(gdvttpath); + exists || fs.mkdirSync(gdvttpath); }); singleton = new Server(); return singleton;