File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def setup_nw_versions(self):
8989 for line in f :
9090 nw_version .values .append (line .strip ())
9191 except IOError :
92- nw_version . values . append ( nw_version . default_value )
92+ pass
9393
9494 def get_nw_versions (self ):
9595 """Get the already downloaded nw versions from the settings"""
Original file line number Diff line number Diff line change @@ -210,18 +210,6 @@ def open_recent_file(self):
210210 if action :
211211 self .load_project (action .data ())
212212
213- def setup_nw_versions (self ):
214- """Loads stored versions that were previously retrieved."""
215- nw_version = self .get_setting ('nw_version' )
216- try :
217- f = codecs .open (utils .get_data_file_path (config .VER_FILE ),
218- encoding = 'utf-8' )
219- for line in f :
220- nw_version .values .append (line .strip ())
221- f .close ()
222- except IOError :
223- nw_version .values .append (nw_version .default_value )
224-
225213 def create_application_layout (self ):
226214 """Create all widgets and set the central widget."""
227215 self .main_layout = QtGui .QVBoxLayout ()
You can’t perform that action at this time.
0 commit comments