Skip to content

Commit 3b7addf

Browse files
committed
[FIX] Local file path
1 parent 01bf9e1 commit 3b7addf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

postgres_backup/upload/gcs.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ def upload_file(
121121
remote_file_path + file_name
122122
)
123123

124-
# TODO: Check if will need / to better convinience
125-
blob.upload_from_filename(local_file_path + file_name)
124+
blob.upload_from_filename(local_file_path + '/' + file_name)
126125

127126
if clean:
128-
os.remove(local_file_path + file_name)
127+
os.remove(local_file_path + '/' + file_name)
129128

130129
return True

0 commit comments

Comments
 (0)