Skip to content

Commit ed4d104

Browse files
committed
v2.0.3: fix image attachment bug
1 parent 5e6ed74 commit ed4d104

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sayminimal/tweet.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ def prompt_for_media_file(self):
198198
def update_bonus_label(self):
199199
s = ""
200200
if self.attached_media:
201-
s += "Attached: %s" % media_file
201+
s += "Attached: %s\n" % self.attached_media
202202
if self.reply_id:
203-
s += " Replying to: %s\n> %s" % (self.reply_id, self.reply_text)
203+
s += "Replying to: %s\n> %s" % (self.reply_id, self.reply_text)
204204
self.bonus_label.set_label(s)
205205

206206
def display_error(self, e):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='sayminimal',
15-
version="2.0.2",
15+
version="2.0.3",
1616
description='A minimalist write-only Twitter client.',
1717
long_description=long_description,
1818
url='https://github.com/mduo13/sayminimal',

0 commit comments

Comments
 (0)