Skip to content

Commit

Permalink
Fix crashing when trying to copy a ro from one list to another
Browse files Browse the repository at this point in the history
  • Loading branch information
MalloyDelacroix committed Sep 29, 2023
1 parent 7a12a8a commit ea4b018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DownloaderForReddit/gui/downloader_for_reddit_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def move_reddit_objects(self, reddit_object_ids, old_list_id, new_list_id):
new_list.sync_reddit_object_settings(reddit_object)
self.refresh_list_models()

def copy_reddit_objects(self, reddit_object_ids, old_list_model, new_list_id, ro_type):
def copy_reddit_objects(self, reddit_object_ids, old_list_model, new_list_id):
with self.db_handler.get_scoped_update_session() as session:
for ro_id in reddit_object_ids:
new_assoc = ListAssociation(reddit_object_id=ro_id, reddit_object_list_id=new_list_id)
Expand Down

0 comments on commit ea4b018

Please sign in to comment.