mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 04:46:34 -04:00
Strip entry/folder names after user input to ensure compatibility with sshync
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ def entry_name_fetch(_entry_name_location): # fetches and returns entry name fr
|
||||
if _entry_name.startswith('/'):
|
||||
return _entry_name.replace('/', '', 1)
|
||||
else:
|
||||
return _entry_name
|
||||
return _entry_name.strip()
|
||||
|
||||
|
||||
def string_gen(_complexity, _length): # generates and returns a random string based on input
|
||||
|
||||
Reference in New Issue
Block a user