diff options
author | diSabler <dissy@ya.ru> | 2020-03-20 08:59:08 +0300 |
---|---|---|
committer | diSabler <dissy@ya.ru> | 2020-03-20 08:59:08 +0300 |
commit | 28bc38837511705f62b72e9c82fce56720b2d2e0 (patch) | |
tree | 334cbe3863e525ff4123e066aab93825a38480fc | |
parent | 4f22442443b7a855a309677cbaf685447cd5a6b3 (diff) |
del: debug in yandex currency
-rw-r--r-- | plugins/yandexcurrency.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/yandexcurrency.py b/plugins/yandexcurrency.py index 10df444..393625f 100644 --- a/plugins/yandexcurrency.py +++ b/plugins/yandexcurrency.py @@ -32,16 +32,12 @@ def cmd_yandex_currency(raw_in): '''.replace('\t', '').replace('\n', '').strip()
res = re.findall(regexp , data)
r = [res[0][t:t+2] for t in xrange(0, len(res[0]), 2)]
- print 4
msg = '<b>Yandex exchange rates</b><pre>'
icons = [['USD', 'πΊπΈ'], ['EUR', 'π«π²'], ['OIL', 'π’']]
for n, i in enumerate(icons):
- print n, i
msg += '\n%s %-7s %-7s %s' % (i[1], i[0], r[n][0].replace(',', '.'), r[n][1].replace(',', '.'))
msg += '</pre>'
- print 5
except:
- raise
msg = 'Ooops! The market collapsed, the salary will not be!'
send_msg(raw_in, msg)
|