Skip to content

Commit

Permalink
markers reading adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
DYefremov committed Jan 12, 2025
1 parent 741bea2 commit eebe953
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/eparser/enigma/bouquets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# The MIT License (MIT)
#
# Copyright (c) 2018-2024 Dmitriy Yefremov
# Copyright (c) 2018-2025 Dmitriy Yefremov
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -276,8 +276,8 @@ def get_bouquet(path, f_name, bq_name):

s_type = ServiceType(srv_data[1])
if s_type is ServiceType.MARKER:
m_data, sep, desc = srv.partition("#DESCRIPTION")
services.append(BouquetService(desc.strip() if desc else "", BqServiceType.MARKER, srv, num))
m_data, sep, desc = srv_data[-1].partition("#DESCRIPTION")
services.append(BouquetService(desc.strip() if desc else m_data, BqServiceType.MARKER, srv, num))
elif s_type is ServiceType.SPACE:
m_data, sep, desc = srv.partition("#DESCRIPTION")
services.append(BouquetService(desc.strip() if desc else "", BqServiceType.SPACE, srv, num))
Expand Down

0 comments on commit eebe953

Please sign in to comment.