File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -630,14 +630,13 @@ def _restore_win_player_config_file(self):
630630 if platform .startswith ('win' ):
631631 ''' restore player config '''
632632 for k in ('mplayer' , 'mpv' ):
633- cnf_file = self .all_config_files [k ][0 ]
634- if os .path .exists (cnf_file ):
635- bck_file = os .path .join (os .getenv ('APPDATA' ), "pyradio" , k + "-active.conf" )
636- if os .path .exists (bck_file ):
637- try :
638- shutil_copy_file (bck_file , cnf_file )
639- except :
640- pass
633+ bck_file = os .path .join (os .getenv ('APPDATA' ), "pyradio" , k + "-active.conf" )
634+ if os .path .exists (bck_file ):
635+ cnf_file = self .all_config_files [k ][0 ]
636+ try :
637+ shutil_copy_file (bck_file , cnf_file )
638+ except :
639+ pass
641640
642641 def _stop_delay_thread (self ):
643642 if self .delay_thread is not None :
You can’t perform that action at this time.
0 commit comments