Skip to content

Commit

Permalink
Merge pull request #24 from ynput/bugfix/fixing_small_bug
Browse files Browse the repository at this point in the history
Fix potential errors in data handling
  • Loading branch information
jakubjezek001 authored Jan 15, 2025
2 parents 466ba8c + 8b4b47d commit 3ec2e03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion client/ayon_harmony/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def ls():
continue

# Filter to only containers.
if "container" not in data.get("id"):
if "container" not in data.get("id", ""):
continue

if not data.get("objectName"): # backward compatibility
Expand Down
1 change: 0 additions & 1 deletion client/ayon_harmony/api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def receive(self):
"""
current_time = time.time()
while True:
self.log.info("wait ttt")
# Receive the data in small chunks and retransmit it
request = None
try:
Expand Down

0 comments on commit 3ec2e03

Please sign in to comment.