Skip to content

Commit

Permalink
fix dev_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
reliveyy committed Oct 28, 2020
1 parent 40e63e0 commit 8a258bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/utils/launcher/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,4 +1161,4 @@ def dump_node_attr(node: str, attr: str) -> None:

@property
def dev_mode(self) -> bool:
return self.args.dev
return hasattr(self.args, "dev") and self.args.dev

0 comments on commit 8a258bd

Please sign in to comment.