Skip to content

Commit

Permalink
Use brace notation for objects in YAML configuration to prevent issue…
Browse files Browse the repository at this point in the history
…s like #20
  • Loading branch information
tvdstaaij committed May 22, 2016
1 parent 7de3128 commit c399fc8
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@
# Formatters export the JSON output to a different format
# To enable a formatter, uncomment it along with all of its options
# If no formatters are enabled, only JSON files are produced
formatters:
# plaintext:
formatters: {
# plaintext: {
# date_format: '%Y-%m-%d %H:%M:%S'
# bare:
# pisg:
# html:
# paginate: 1500 # messages per page
# use_utc_time: false
# timestamps_every: 50 # messages
# },
# bare: {},
# pisg: {},
# html: {
# paginate: 1500, # messages per page
# use_utc_time: false,
# timestamps_every: 50, # messages
# },
}

# Target directory for the backup files
# It his is a relative path it will be relative to the script's directory
Expand All @@ -47,11 +50,12 @@
# At the time of writing, telegram-cli does not properly detect audio/video
# These will be recognized as documents instead
# Stickers are also considered documents
download_media:
photo: false
document: false
audio: false
video: false
download_media: {
photo: false,
document: false,
audio: false,
video: false,
}

# False to reference downloaded files in the telegram-cli cache
# True to copy downloaded media to a dedicated directory per dialog
Expand Down

0 comments on commit c399fc8

Please sign in to comment.