osm2city path prefix removed
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
1c338a0861
commit
b899ae62a6
1 changed files with 3 additions and 3 deletions
|
@ -103,9 +103,9 @@ def update_parent_index(base, path, changed_dir):
|
|||
index = {}
|
||||
index["version"] = 1
|
||||
if path != "":
|
||||
index["path"] = "osm2city/" + path
|
||||
index["path"] = path
|
||||
else:
|
||||
index["path"] = "osm2city"
|
||||
index["path"] = ""
|
||||
|
||||
sha = get_sha1(base + "/" + path + "/" + changed_dir + "/.dirindex")
|
||||
if sha != None:
|
||||
|
@ -120,7 +120,7 @@ def update_index(output, part, name, name_major):
|
|||
else:
|
||||
index = {}
|
||||
index["version"] = 1
|
||||
index["path"] = "osm2city/" + part + "/" + name_major
|
||||
index["path"] = part + "/" + name_major
|
||||
|
||||
sha = get_sha1(output + "/" + part + "/" + name_major + "/" + name + ".txz")
|
||||
if sha != None:
|
||||
|
|
Loading…
Reference in a new issue