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 4, 2023
1 parent 927677c commit 01587db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sshfs_mounter.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def get_config_data(config_folder_path):

remote_folders = []
for line in output.splitlines():
print (line)
if line in location.get('exclude_folders'):
continue
remote_folders.append(line)
Expand All @@ -94,6 +93,7 @@ def get_config_data(config_folder_path):
pass

for remote_folder in remote_folders:
print (remote_folder)
try:
cmd = 'sudo mkdir -p "' + os.path.join(location.get('local_folder'), remote_folder) + '"'
os.system(cmd)
Expand Down

0 comments on commit 01587db

Please sign in to comment.