From b6b9bc4a63905b6b82f98b704efd1a44ea5d5301 Mon Sep 17 00:00:00 2001 From: AliReza AmirSamimi Date: Sat, 12 Oct 2019 22:40:10 +0330 Subject: [PATCH] Update properties.py --- persepolis/scripts/properties.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/persepolis/scripts/properties.py b/persepolis/scripts/properties.py index 1ca0c088..ac3a60c9 100644 --- a/persepolis/scripts/properties.py +++ b/persepolis/scripts/properties.py @@ -495,8 +495,8 @@ def okButtonPressed(self, button): # if link changed, then update download_db_table in data base if self.add_link_dictionary_2['link'] != self.add_link_dictionary_2_backup['link']: - #TODO: link is not defined before - dictionary = {'gid': self.gid_2, 'link': link} + + dictionary = {'gid': self.gid_2, 'link': self.add_link_dictionary_2['link']} self.parent.persepolis_db.updateDownloadTable([dictionary]) # if download_path was changed, then update video_finder_db_table in data base