(self)
Print information regarding the recommended update
Print information regarding the recommended update
Print information regarding the recommended update
def recommend_update(self):
        """Print information regarding the recommended update"""
        if (self.data['cli_update'] is None):
            return
        print("\nUpdate available for blocksat-cli")
        print("Current version: {}.\nLatest version: {}.".format(
            self.data['cli_update'][0], self.data['cli_update'][1]))
        print("Please run:\n\n    pip3 install blocksat-cli --upgrade\n\n")
def recommend_update ( self ) : if ( self . data [ 'cli_update' ] is None ) : return print ( "\nUpdate available for blocksat-cli" ) print ( "Current version: {}.\nLatest version: {}." . format ( self . data [ 'cli_update' ] [ 0 ] , self . data [ 'cli_update' ] [ 1 ] ) ) print ( "Please run:\n\n    pip3 install blocksat-cli --upgrade\n\n" )