Skip to content

Commit

Permalink
remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
conformist-mw committed Jan 12, 2024
1 parent 642b3ac commit 256a668
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
7 changes: 6 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
tg-sendmail (0.3.2) stable; urgency=medium

* remove extra lines, remove forgotten debug output

-- Oleg Smedyuk <[email protected]> Thu, 12 Jan 2024 18:47:00 +0200

tg-sendmail (0.3.1) stable; urgency=medium

* fix changelog format, update email, gpg
Expand Down Expand Up @@ -35,4 +41,3 @@ tg-sendmail (0.1.0) stable; urgency=medium
* Setup full debian package build

-- Oleg Smedyuk <[email protected]> Thu, 11 Nov 2021 19:56:19 +0200

1 change: 0 additions & 1 deletion debian/config
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ db_input high tg-sendmail/chat-id || true
db_go

exit 0

1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ Description: drop-in /usr/sbin/sendmail replacement to send mails to Telegram
utility that can be used by any system application to send
emails to the chat telegram bot.
Homepage: https://github.com/conformist-mw/sendmail

1 change: 0 additions & 1 deletion debian/install
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/dh-exec
src/sendmail.py => usr/sbin/sendmail
src/sendmail.ini => etc/tg-sendmail.ini

1 change: 0 additions & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ chmod 666 /var/log/tg-sendmail.log
sed -i "s%log_path=.*%log_path=/var/log/tg-sendmail.log%" /etc/tg-sendmail.ini

exit 0

1 change: 0 additions & 1 deletion debian/templates
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ Type: string
Description: Chat ID with the bot.
You can skip and fill in manually in `/etc/tg-sendmail.ini`.
If you don't know it, the `sendmail --get-updates` command will help.

1 change: 0 additions & 1 deletion src/sendmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ def send(message, token, chat_id):

def send_file(filepath, content, token, chat_id):
body = encode_multipart_formdata(filepath, content)
print(body)
headers = {
'Content-Type': 'multipart/form-data; boundary=boundary',
}
Expand Down

0 comments on commit 256a668

Please sign in to comment.