File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,9 @@ def shell():
626626                print_session_is_locked ()
627627                sys .exit (1 )
628628            elif  not  pyradio_config .user_csv_found :
629+                 stations_change  =  StationsChanges (pyradio_config )
630+                 stations_change  .stations_csv_needs_sync (print_messages = False )
631+                 stations_change .write_synced_version ()
629632                print_simple_error ('Error: "stations.csv" already up to date!' )
630633                sys .exit (1 )
631634            else :
Original file line number Diff line number Diff line change @@ -1627,8 +1627,10 @@ def run(self):
16271627                if  logger .isEnabledFor (logging .INFO ):
16281628                    logger .info ('(detectUpdateStationsThread): not starting; session is locked!!!' )
16291629            elif  not  self ._cnf .user_csv_found :
1630+                 self ._cls_update_stations .stations_csv_needs_sync (print_messages = False )
1631+                 self ._cls_update_stations .write_synced_version ()
16301632                if  logger .isEnabledFor (logging .INFO ):
1631-                     logger .info ('(detectUpdateStationsThread): not starting; copyed  stations.csv!!!' )
1633+                     logger .info ('(detectUpdateStationsThread): not starting; copied  stations.csv!!!' )
16321634            else :
16331635                if  logger .isEnabledFor (logging .INFO ):
16341636                    logger .info ('(detectUpdateStationsThread): checking in 10 seconds' )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments