14 lines
509 B
Diff
14 lines
509 B
Diff
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:
|