Skip to content

Commit

Permalink
Update properties.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza-amirsamimi committed Oct 12, 2019
1 parent 68551db commit b6b9bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions persepolis/scripts/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6b9bc4

Please sign in to comment.