projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c264071
)
fix date with 0 in prefix
author
vunhat_minh
<vunhat_minh@dwango.co.jp>
Tue, 1 Jul 2014 04:12:24 +0000
(13:12 +0900)
committer
vunhat_minh
<vunhat_minh@dwango.co.jp>
Tue, 1 Jul 2014 04:12:24 +0000
(13:12 +0900)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 86ec4be9b6a08c2a613b4ae39a7c850c7026917e..8fb8a5843a9809c056e308b397df87e4ab348ea7 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-977,7
+977,7
@@
def cal():
month = random_rainbow(month)
date = rel.pop(0)
date = ' '.join([cycle_color(i) for i in date.split(' ')])
- today =
os.popen('date +\'%d\'').read().strip(
)
+ today =
str(int(os.popen('date +\'%d\'').read().strip())
)
# Display
print month
print date