Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Fix for a bug introduced in the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Hernando Vieites committed Dec 4, 2018
1 parent ddc22c2 commit c3be9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/rtneuron
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sys_exit = exit
# functions.
def _scene_view_update_decorator(func, *args, **kwargs):
@functools.wraps(func)
def decorated(func, *args, **kwargs):
def decorated(*args, **kwargs):
x = func(*args, **kwargs)
if hasattr(rtneuron, "engine"):
rtneuron.view = rtneuron.engine.views[0]
Expand Down

0 comments on commit c3be9a8

Please sign in to comment.