|
@@ -437,7 +437,7 @@ def main():
|
|
action = get_action(
|
|
action = get_action(
|
|
input("Do you want to (R)eceive or (S)end a file?\t\t")
|
|
input("Do you want to (R)eceive or (S)end a file?\t\t")
|
|
)
|
|
)
|
|
- if (
|
|
|
|
|
|
+ if file_path is not None and (
|
|
(action == 'send'
|
|
(action == 'send'
|
|
and not os.path.isfile(os.path.abspath(file_path)))
|
|
and not os.path.isfile(os.path.abspath(file_path)))
|
|
or (action == 'receive'
|
|
or (action == 'receive'
|