Permalink
Browse files

Fix stage name

  • Loading branch information...
1 parent 2951e73 commit a7227683b68ee1b074003bc36f0852c14164f04f Anton Grudko committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 n3d.py
View
2 n3d.py
@@ -58,7 +58,7 @@ def preloop(self):
def stage_name(self, stage):
if stage is not None and stage >= 0 and stage < len(self.stages):
- return self.stage_nums[stage].split('-')[-1]
+ return self.stage_nums[stage].split('-', 1)[-1]
else:
return None

0 comments on commit a722768

Please sign in to comment.