Skip to content

Commit

Permalink
Fixed file name printing
Browse files Browse the repository at this point in the history
  • Loading branch information
CedArctic committed Apr 19, 2018
1 parent 5e0a2c1 commit ad6cc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qr-filetransfer-universal.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def start_server(fpath):

print("\n")
print("Server Address: " + address) # Print server address and file name
print("File name: " + fname)
print("File name: " + os.path.basename(fname))
print("\n")
print("Scan the QR to start downloading. To quit just hit Ctrl+C.\nMake sure that your smartphone is connected to the same WiFi network as this computer.")
print_qr_code(address, os.path.basename(fname))
Expand Down

0 comments on commit ad6cc56

Please sign in to comment.