Partial revert for last fix

This commit is contained in:
2022-01-13 04:36:58 -05:00
parent 54397dcd13
commit 4330617060
+2 -1
View File
@@ -75,7 +75,8 @@ def get_profile(_profile_dir):
_local_dir = _profile_data[3].replace('\n', '')
_remote_dir = _profile_data[4].replace('\n', '')
_identity = _profile_data[5].replace('\n', '')
return _user, _ip, _port, _local_dir, _remote_dir, _identity
_data_dir = ' '.join(_profile_dir.split('/')[:-1]).replace(' ', '/') + '/'
return _user, _ip, _port, _local_dir, _remote_dir, _identity, _data_dir
def run_profile(_profile_dir):