fix: tampilkan mode SAVE PENDING di output
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -234,7 +234,13 @@ def main():
|
|||||||
|
|
||||||
print(f"Tanggal : {args.date}")
|
print(f"Tanggal : {args.date}")
|
||||||
print(f"Author : {args.author}")
|
print(f"Author : {args.author}")
|
||||||
print(f"Mode : {'DRY RUN' if args.dry_run else 'UPLOAD'}")
|
if args.dry_run:
|
||||||
|
mode = "DRY RUN"
|
||||||
|
elif args.save_pending:
|
||||||
|
mode = "SAVE PENDING"
|
||||||
|
else:
|
||||||
|
mode = "UPLOAD"
|
||||||
|
print(f"Mode : {mode}")
|
||||||
print("=" * 65)
|
print("=" * 65)
|
||||||
|
|
||||||
# Cek session sebelum mulai
|
# Cek session sebelum mulai
|
||||||
|
|||||||
Reference in New Issue
Block a user