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

2
ipfs
View File

@ -106,7 +106,7 @@ class IPFS_method():
return result
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'})
ipfs = ipfsapi.connect('127.0.0.1', 5001)