blob: a7421b9b2c2177e71bafd8146ce2ce8cc4f21c0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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:
|