Skip to content

Commit

Permalink
downloadable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaurin committed Nov 11, 2023
1 parent 4d194a9 commit 9fbdcd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rs_Assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,12 @@ def _from_config_file(self, asset_config_file: str) -> List["LiveryAsset"]:
asset = LiveryAsset.from_config_item(asset_config_item)
self._top_level_assets.append(asset)

# Check if we have any duplicate basenames
for asset in self.all_assets:
for asset_compare in self.all_assets:
# Check if we have any duplicate basenames for downloadable assets
for asset in self.get_assets_with_gdrive_id():
for asset_compare in self.get_assets_with_gdrive_id():
if asset.basename == asset_compare.basename:
raise ValueError(
f"Duplicate basenames found in config file: {asset.basename}"
f"Duplicate basenames for downloadable assets found in config file: {asset.basename}"
)

# Wait for downloads to finish, and the do post-download processing
Expand Down

0 comments on commit 9fbdcd4

Please sign in to comment.