blob: a7421b9b2c2177e71bafd8146ce2ce8cc4f21c0e [file] [log] [blame]
Index: webapp-config-1.50.16/WebappConfig/server.py
===================================================================
--- webapp-config-1.50.16.orig/WebappConfig/server.py
+++ webapp-config-1.50.16/WebappConfig/server.py
@@ -158,7 +158,7 @@ class Basic:
# is the installation directory empty?
- if not os.listdir(self.__destd):
+ if not os.listdir(self.__destd) and os.path.isdir(self.__destd):
if not self.__p:
os.rmdir(self.__destd)
else: