mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
logging fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
from datetime import datetime, timezone
|
||||
|
||||
import click
|
||||
from http_host_lib.assets import (
|
||||
@@ -14,6 +15,9 @@ from http_host_lib.sync import auto_clean_btrfs, full_sync
|
||||
from http_host_lib.versions import fetch_version_files
|
||||
|
||||
|
||||
now = datetime.now(timezone.utc)
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
"""
|
||||
@@ -96,6 +100,8 @@ def sync(force):
|
||||
On a new server this also takes care of everything, no need to run anything manually.
|
||||
"""
|
||||
|
||||
print(f'---\n{now}\nrunning full_sync')
|
||||
|
||||
full_sync(force)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user