maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH maposmatic 2/4] Improve error message when RENDE


From: Maxime Petazzoni
Subject: [Maposmatic-dev] [PATCH maposmatic 2/4] Improve error message when RENDERING_RESULT_PATH does not exist
Date: Mon, 7 May 2012 19:13:26 -0700

Signed-off-by: Maxime Petazzoni <address@hidden>
---
 scripts/daemon.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/daemon.py b/scripts/daemon.py
index e39553b..bec206f 100755
--- a/scripts/daemon.py
+++ b/scripts/daemon.py
@@ -242,8 +242,9 @@ class RenderingsGarbageCollector(threading.Thread):
 if __name__ == '__main__':
     if (not os.path.exists(RENDERING_RESULT_PATH)
         or not os.path.isdir(RENDERING_RESULT_PATH)):
-        l.error("%s does not exist or is not a directory! "
-                  "Please use a valid RENDERING_RESULT_PATH.")
+        l.error("%s does not exist, is not a directory! " %
+                RENDERING_RESULT_PATH)
+        l.error("Please set RENDERING_RESULT_PATH to a valid directory!")
         sys.exit(1)
 
     try:
-- 
1.7.10




reply via email to

[Prev in Thread] Current Thread [Next in Thread]