This commit is contained in:
Marc Beninca 2023-10-08 15:03:20 +02:00
parent d599b19833
commit ecb851f510

10
sync.py
View file

@ -67,12 +67,12 @@ def main():
root = os.path.join(root, 'out', 'web')
dns_length = max([len(pubnix.dn) for pubnix in PUBNIXES])
for pubnix in PUBNIXES:
# print()
# print(pubnix)
print(f'{pubnix.dn.rjust(dns_length)}', end=str(), flush=True)
# sync(root, pubnix, exclude=['__pycache__', 'cnam', 'pgp.asc'])
print()
print(pubnix)
# print(f'{pubnix.dn.rjust(dns_length)} → ', end=str(), flush=True)
sync(root, pubnix, exclude=['__pycache__', 'cnam', 'pgp.asc'])
# print(pubnix.disk_free())
print(pubnix.os())
# print(pubnix.os())
if __name__ == '__main__':