put static_registry as first argument

This commit is contained in:
Maximilian Güntner
2020-06-20 19:18:49 +02:00
parent 9920b3b9e8
commit 8925fea5dc
3 changed files with 10 additions and 6 deletions

View File

@@ -1,7 +1,10 @@
#!/usr/bin/env python3
import sys
from pathlib import Path
pathlist = Path("static_registry").glob('**/*.tar.gz')
base = sys.argv[1]
pathlist = Path(base).glob('**/*.tar.gz')
registry = {
}