Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/vi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiSabler <dissy@ya.ru>2020-03-20 08:59:08 +0300
committerdiSabler <dissy@ya.ru>2020-03-20 08:59:08 +0300
commit28bc38837511705f62b72e9c82fce56720b2d2e0 (patch)
tree334cbe3863e525ff4123e066aab93825a38480fc
parent4f22442443b7a855a309677cbaf685447cd5a6b3 (diff)
del: debug in yandex currency
-rw-r--r--plugins/yandexcurrency.py4
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)