File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,9 @@ def shell():
626
626
print_session_is_locked ()
627
627
sys .exit (1 )
628
628
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 ()
629
632
print_simple_error ('Error: "stations.csv" already up to date!' )
630
633
sys .exit (1 )
631
634
else :
Original file line number Diff line number Diff line change @@ -1627,8 +1627,10 @@ def run(self):
1627
1627
if logger .isEnabledFor (logging .INFO ):
1628
1628
logger .info ('(detectUpdateStationsThread): not starting; session is locked!!!' )
1629
1629
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 ()
1630
1632
if logger .isEnabledFor (logging .INFO ):
1631
- logger .info ('(detectUpdateStationsThread): not starting; copyed stations.csv!!!' )
1633
+ logger .info ('(detectUpdateStationsThread): not starting; copied stations.csv!!!' )
1632
1634
else :
1633
1635
if logger .isEnabledFor (logging .INFO ):
1634
1636
logger .info ('(detectUpdateStationsThread): checking in 10 seconds' )
You can’t perform that action at this time.
0 commit comments