Skip to content
Snippets Groups Projects
Commit 9f508852 authored by Manuela Kuhn's avatar Manuela Kuhn
Browse files

target dir is cleared at start of receiverLiveViewer

parent 8b67ac72
No related branches found
No related tags found
No related merge requests found
......@@ -136,8 +136,8 @@ def checkDirEmpty(dirPath):
if confirm(prompt="Directory " + str(dirPath) + " is not empty.\nShould its content be removed?",
resp = True):
for element in os.listdir(dirPath):
print "Removing elements"
os.remove(element)
logging.info("All elements were removed.")
......@@ -219,7 +219,8 @@ def initLogging(filenameFullPath, verbose):
#log info to stdout, display messages with different format than the file output
console = logging.StreamHandler()
console.setLevel(logging.INFO)
console.setLevel(logging.ERROR)
# console.setLevel(logging.INFO)
formatter = logging.Formatter("%(asctime)s > %(message)s")
console.setFormatter(formatter)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment