Skip to content

Commit

Permalink
Fix potential variable use before definition
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Mar 28, 2024
1 parent 32ee4b5 commit 2c23c14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/lib/youtube_plugin/kodion/items/xbmc/xbmc_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@


def set_info(list_item, item, properties):
is_video = False
if not current_system_version.compatible(20, 0):
is_video = False

if isinstance(item, VideoItem):
is_video = True
info_labels = {}
Expand Down

0 comments on commit 2c23c14

Please sign in to comment.