mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
some fix
This commit is contained in:
parent
2b50aad4ef
commit
426993552c
@ -81,11 +81,7 @@ while True:
|
|||||||
text += h.content
|
text += h.content
|
||||||
del headers[h.path]
|
del headers[h.path]
|
||||||
for h2 in headers.values():
|
for h2 in headers.values():
|
||||||
if h.path in h2.dependencies:
|
h2.dependencies = [d for d in h2.dependencies if d != h.path]
|
||||||
try:
|
|
||||||
h2.dependencies.remove(h.path)
|
|
||||||
except ValueError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
if os.path.exists("amalgamated"):
|
if os.path.exists("amalgamated"):
|
||||||
shutil.rmtree("amalgamated")
|
shutil.rmtree("amalgamated")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user