1
0

plugins: on_close method

This commit is contained in:
ThomasV
2015-12-09 09:41:24 +01:00
parent 6770834d06
commit de964f4033
5 changed files with 25 additions and 34 deletions

View File

@@ -288,7 +288,6 @@ class FxPlugin(BasePlugin, ThreadJob):
def show_history(self):
return self.config_history() and self.exchange.history_ccys()
def set_exchange(self, name):
class_ = self.exchanges.get(name) or self.exchanges.values()[0]
name = class_.__name__