mirror of
https://github.com/seanbetts/steam-hardware-watch.git
synced 2026-10-06 06:00:34 +02:00
Add ImportGenius customs shipment monitoring
This commit is contained in:
1 parent
cde4f5f5fc
commit
a1fee7a4df
17 files changed
+864
-31
No files matched your search
@@ -96,6 +96,8 @@ def customs_status(reports: Path):
|
||||
report = reports / "customs-shipments.md"
|
||||
if not any(path.exists() for path in (key_lines, errors, report)):
|
||||
return "unavailable"
|
||||
if count(key_lines) and count(errors):
|
||||
return "partial"
|
||||
if count(errors):
|
||||
return "blocked"
|
||||
return "available"
|
||||
|
||||
Reference in new issue
Block a user