Skip to content

Commit

Permalink
uzsu: global once deactivates uzsu on first setting, no matter if it …
Browse files Browse the repository at this point in the history
…is a series or not.
  • Loading branch information
onkelandy committed Dec 21, 2024
1 parent 11ce478 commit 22ec0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uzsu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ def _set(self, item=None, value=None, caller=None, entryindex=None, interpolated
if entryindex is not None and item:
self._series[item][entryindex] = seriesstatus
self.logger.debug(f"Updated series index {entryindex} for item {item} to {seriesstatus}. Series is now {self._series[item]}")
if self._items[item].get('once') and not interpolated and seriesstatus == "-":
if self._items[item].get('once') and not interpolated:
self._items[item]['active'] = False
update = 'globalonce'
self.logger.debug(f'Deactivating UZSU for item {item} as it has "once" set to True')
Expand Down

0 comments on commit 22ec0f1

Please sign in to comment.