1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-22 08:46:15 +00:00

Anonymize "target dir after options".

This commit is contained in:
Fabian Schlenz 2018-04-16 05:59:28 +02:00
parent 4c6c049502
commit b1e9346203

View File

@ -63,7 +63,7 @@ class CommandLineController(val options: CommandLineOptions) {
// Setup file_base // Setup file_base
logger.debug("Target dir from Config: {}", Config.TARGET_DIR.anonymize()) logger.debug("Target dir from Config: {}", Config.TARGET_DIR.anonymize())
target_dir = options.get("target") ?: Config.TARGET_DIR target_dir = options.get("target") ?: Config.TARGET_DIR
logger.debug("Target dir after options: {}", target_dir) logger.debug("Target dir after options: {}", target_dir.anonymize())
println("Base directory for files: ${target_dir.anonymize()}") println("Base directory for files: ${target_dir.anonymize()}")
if (options.isSet("list_accounts")) { if (options.isSet("list_accounts")) {