mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-03-21 14:26:26 -04:00
Made save paths relative
This commit is contained in:
parent
19d1d8504f
commit
e022d469f8
@ -976,7 +976,10 @@ class Browser:
|
||||
try:
|
||||
file_name = request_receipt.response[0]
|
||||
file_data = request_receipt.response[1]
|
||||
file_destination = self.app.downloads_path+"/"+file_name
|
||||
file_destination_name = file_name.split("/")
|
||||
file_destination_name = file_destination_name[len(file_destination_name)-1]
|
||||
file_destination = self.app.downloads_path+"/"+file_destination_name
|
||||
|
||||
|
||||
counter = 0
|
||||
while os.path.isfile(file_destination):
|
||||
|
Loading…
x
Reference in New Issue
Block a user