This commit is contained in:
zuckerberg 2021-09-24 18:20:57 -04:00
parent 96f6572a4b
commit b8f36cc59f

View File

@ -100,16 +100,16 @@ def mountTorrent(magnet):
o.communicate() # wait for it to finish o.communicate() # wait for it to finish
def umountTorrent(): def umountTorrent():
print("mock unmounting torrent...") print("unmounting torrent...")
# if os.path.isdir(fuseTorrentLocation): if os.path.isdir(fuseTorrentLocation):
# o = subprocess.Popen([ o = subprocess.Popen([
# "fusermount", "fusermount",
# "-u", fuseTorrentLocation "-u", fuseTorrentLocation
# ]) ])
# o.communicate() # wait for it to finish o.communicate() # wait for it to finish
# os.rmdir(fuseTorrentLocation) os.rmdir(fuseTorrentLocation)
# if os.path.isdir(btfsDataLocation): if os.path.isdir(btfsDataLocation):
# shutil.rmtree(btfsDataLocation) shutil.rmtree(btfsDataLocation)
def getTorrentMedia(): def getTorrentMedia():
print("Getting torrent media...") print("Getting torrent media...")