mirror of
https://github.com/Rikj000/MoniGoMani.git
synced 2022-03-06 00:08:05 +03:00
⚡ FreqtradeCli Nested freqtrade installation found checks
This commit is contained in:
@@ -73,13 +73,10 @@ class FreqtradeCli():
|
||||
:return bool: True if freqtrade installation
|
||||
is found and property is set. False otherwise.
|
||||
"""
|
||||
if os.path.exists('{0}/.env/bin/freqtrade'.format(self.basedir)) is False:
|
||||
if (os.path.exists('{0}/.env/bin/freqtrade'.format(self.basedir)) is False) or (self.install_type is None):
|
||||
self.cli_logger.warning('🤷♂️ No Freqtrade installation found.')
|
||||
return False
|
||||
|
||||
if self.install_type is None:
|
||||
return False
|
||||
|
||||
self.freqtrade_binary = self._get_freqtrade_binary_path(self.basedir, self.install_type)
|
||||
|
||||
self.cli_logger.debug('👉 Freqtrade binary: `{0}`'.format(
|
||||
|
||||
Reference in New Issue
Block a user