diff --git a/apps/main/views.py b/apps/main/views.py index 8d5f207a1e..76333be0e8 100755 --- a/apps/main/views.py +++ b/apps/main/views.py @@ -90,7 +90,10 @@ def _return_type(value): def _exists(path): try: - return os.path.exists(path) + if os.path.exists(path): + return '' + else: + return '' except Exception, exc: return exc