OSDN Git Service
(root)
/
hengband
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95487bc
)
[modify]コンソールへの出力時にUTF-8へエンコードする
author
Habu
<habu@users.sourceforge.jp>
Fri, 30 Mar 2018 10:18:45 +0000
(19:18 +0900)
committer
Habu
<habu@users.sourceforge.jp>
Fri, 30 Mar 2018 10:18:45 +0000
(19:18 +0900)
score/tools/tweet_score.py
patch
|
blob
|
history
diff --git
a/score/tools/tweet_score.py
b/score/tools/tweet_score.py
index
8a134ee
..
384778d
100755
(executable)
--- a/
score/tools/tweet_score.py
+++ b/
score/tools/tweet_score.py
@@
-243,7
+243,7
@@
if __name__ == '__main__':
sys.exit(1)
if (options.dry_run):
- print(tweet_contents)
+ print(tweet_contents
.encode("UTF-8")
)
else:
tweet(config.config['TwitterOAuth'], tweet_contents)
except Exception: