From 3648f21eb207a9d64db2569f2edfc25e3b078752 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 21 Jun 2018 20:27:15 -0700 Subject: [PATCH] Added back in check for running processed, commented out during testing --- core/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/__init__.py b/core/__init__.py index 8200f977..a27fc7ed 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -248,10 +248,10 @@ def initialize(section=None): if not makeDir(LOG_DIR): print("No log folder, logging to screen only") - #MYAPP = RunningProcess() - #while MYAPP.alreadyrunning(): - # print("Waiting for existing session to end") - # time.sleep(30) + MYAPP = RunningProcess() + while MYAPP.alreadyrunning(): + print("Waiting for existing session to end") + time.sleep(30) try: locale.setlocale(locale.LC_ALL, "")