aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmaster/setup-master.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/master/setup-master.py b/master/setup-master.py
index 8ad26a3..5fb4880 100755
--- a/master/setup-master.py
+++ b/master/setup-master.py
@@ -73,7 +73,7 @@ def resume_last_stage():
stages = [STAGE]
else:
with open(osp.join(PROJPATH, '.last_stage'), 'r') as last_stage:
- STAGE = last_stage.read()
+ STAGE = last_stage.read().rstrip('\n')
# If we're at the last stage
if STAGE == STAGES[-1]:
all_done()