Skip to content

Commit

Permalink
Stop using inline comments which freak out ConfigParser now
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristensen committed Jun 19, 2018
1 parent 40c167d commit 12adaef
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions slappd/templates/config.j2
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
#
# [untappd]
# id - Your Untappd API ID
# secret - Your Untappd API Secret
# timeout - Time to wait in seconds before requests time out
# token - See https://untappd.com/api/docs#authentication for more information
# users - A comma separated list of users
# lastseen - The last checkin ID seen by the script, don't worry about this.
# display_media - Display the first photo associated with a check-in.
#
# [slack]
# token - A Slack webhook token
#

[untappd]
id = C0V47SQ067AKMYY1AYG3CU0ADSCCGC7E52XCM0J9 # Your Untappd API ID
secret = 9J2WHQX2EH00191UGHO62HTI8QIEI8HMTXL403L5 # Your Untappd API Secret
timeout = 10 # Time to wait in seconds before requests time out
token = D7NLHKQY37YMOI3S3L51R7AYOMKONFXYW9GTY6R4 # See https://untappd.com/api/docs#authentication for more information
users = foo,bar,baz # A comma separated list of users
lastseen = 0 # The last checkin ID seen by the script, don't worry about this.
display_media = true # Display the first photo associated with a check-in.
id = C0V47SQ067AKMYY1AYG3CU0ADSCCGC7E52XCM0J9
secret = 9J2WHQX2EH00191UGHO62HTI8QIEI8HMTXL403L5
timeout = 10
token = D7NLHKQY37YMOI3S3L51R7AYOMKONFXYW9GTY6R4
users = foo,bar,baz
lastseen = 0
display_media = true

[slack]
token = TXXXXXXXX/BXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX # A Slack webhook token
token = TXXXXXXXX/BXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX

0 comments on commit 12adaef

Please sign in to comment.