Skip to content

Commit

Permalink
fix bug path file name
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchTaqi committed Jul 29, 2017
1 parent 19857e3 commit 8960158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def upload(self, file_name):
if file_name is not None:
drop_box_access_token = self.ACCESS_TOKEN
target_dir = self.TARGET_DIR
upload_to = target_dir + os.sep + file_name
upload_to = target_dir + os.sep + os.path.basename(file_name)
transfer_data = TransferData(drop_box_access_token, logging)
transfer_data.get_account_info()
try:
Expand Down

0 comments on commit 8960158

Please sign in to comment.