diff --git a/fdroidserver/common.py b/fdroidserver/common.py index ec4a6eea..23b1ead5 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1890,11 +1890,9 @@ def place_srclib(root_dir, number, libpath): proppath = os.path.join(root_dir, 'project.properties') lines = [] - if not os.path.isfile(proppath): - return - - with open(proppath, "r") as o: - lines = o.readlines() + if os.path.isfile(proppath): + with open(proppath, "r") as o: + lines = o.readlines() with open(proppath, "w") as o: placed = False