|
@@ -438,11 +438,13 @@ def build_and_transfer_delta_mode(account_df, dt_version, dry_run):
|
|
for gh_id in delta_accounts:
|
|
for gh_id in delta_accounts:
|
|
account_info = account_map[gh_id]
|
|
account_info = account_map[gh_id]
|
|
configured_videos = account_info['video_ids']
|
|
configured_videos = account_info['video_ids']
|
|
|
|
+ video_ids = default_video[account_info['category1']]
|
|
if configured_videos:
|
|
if configured_videos:
|
|
LOGGER.info(f'{gh_id} has configured video IDs: {configured_videos}')
|
|
LOGGER.info(f'{gh_id} has configured video IDs: {configured_videos}')
|
|
- video_ids = [int(x) for x in configured_videos.split(',')]
|
|
|
|
- else:
|
|
|
|
- video_ids = default_video[account_info['category1']]
|
|
|
|
|
|
+ try:
|
|
|
|
+ video_ids = [int(x) for x in configured_videos.split(',')]
|
|
|
|
+ except Exception as e:
|
|
|
|
+ print('invalid configured video_ids, use default instead')
|
|
for group_key in groups:
|
|
for group_key in groups:
|
|
for idx in range(account_info['send_n']):
|
|
for idx in range(account_info['send_n']):
|
|
row = {
|
|
row = {
|