Skip to content

Commit

Permalink
tiny logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fdev31 committed Nov 8, 2023
1 parent 5651b12 commit dff99a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyprland/plugins/scratchpads.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ def set(self, scratch: Scratch, name=None, pid=None, addr=None):
if name is not None:
d = self._by_name
v = name
if pid is not None:
elif pid is not None:
d = self._by_pid
v = pid
if addr is not None:
elif addr is not None:
d = self._by_addr
v = addr
d[v] = scratch
Expand Down

0 comments on commit dff99a6

Please sign in to comment.