Skip to content

Commit 441621a

Browse files
committed
Fix bug
1 parent c1ae4b4 commit 441621a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datauploader/api/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ def get_existing_file_ids(oh_member):
2626
for file_info in oh_member.list_files():
2727
if 'Github' in file_info['metadata']['tags']:
2828
id = file_info['id']
29-
ids.append(ids)
29+
ids.append(id)
3030
return ids

datauploader/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def process_github(oh_id):
4949
gh_file = gh_api.get_github_data(oh_member, github_access_token, current_dt)
5050

5151
existing_file_ids = get_existing_file_ids(oh_member)
52-
52+
print(existing_file_ids)
5353
api.upload_aws(gh_file, create_file_metadata(),
5454
oh_access_token,
5555
project_member_id=oh_id,

0 commit comments

Comments
 (0)