Skip to content

Commit

Permalink
update sshfs_mounter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
talosh committed Jan 5, 2023
1 parent 68d3b79 commit 50309ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sshfs_mounter.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ def unmount(local_folder_path):
except Exception as e:
print ('unable to unount "%s": %s' % (local_folder_path, pformat(e)))
try:
cmd = '"rmdir "' + local_folder_path + '"'
cmd = 'rmdir "' + local_folder_path + '"'
print ('removing directory "%s"' % local_folder_path)
os.system(cmd)
except Exception as e:
print ('unable to remove "%s": %s' % (local_folder_path, pformat(e)))


if __name__ == "__main__":

app_location = os.path.dirname(os.path.abspath(__file__))
Expand Down

0 comments on commit 50309ad

Please sign in to comment.