remove the unnecessary slashes

This commit is contained in:
Leo Arias 2017-12-06 21:45:54 +00:00
parent a75f2ac85c
commit 3fe33de79b
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ IPFS hash that was manually set up to serve the hello deb.
Backup your /etc/apt/sources.list, remove all the lines that it has and leave it Backup your /etc/apt/sources.list, remove all the lines that it has and leave it
just with: just with:


deb ipfs:///ipns/QmdyaTjqXayZVQULcEyHQFx6n76TrMBc5aEDCgvp5cUTEi xenial main deb ipfs:/ipns/QmdyaTjqXayZVQULcEyHQFx6n76TrMBc5aEDCgvp5cUTEi xenial main


To test it, run: To test it, run:



2
ipfs
View File

@ -106,7 +106,7 @@ class IPFS_method():
return result return result


def fetch(self, uri, filename): def fetch(self, uri, filename):
ipfs_file_path = uri.replace('ipfs://', '', 1) ipfs_file_path = uri.replace('ipfs:', '', 1)


self.send_status({'URI': uri, 'Message': 'Waiting for stats'}) self.send_status({'URI': uri, 'Message': 'Waiting for stats'})
ipfs = ipfsapi.connect('127.0.0.1', 5001) ipfs = ipfsapi.connect('127.0.0.1', 5001)