aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/transfer-geom3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/transfer-geom b/scripts/transfer-geom
index 6109f5ed..e4f38bb4 100755
--- a/scripts/transfer-geom
+++ b/scripts/transfer-geom
@@ -83,7 +83,8 @@ with open(sys.argv[2]) as template:
if not panel:
print("No panel for line: %s\n" % line)
sys.exit(1)
- out.write("%s/coffset = %s\n" % (panel, coffset[panel]))
+ if panel in coffset:
+ out.write("%s/coffset = %s\n" % (panel, coffset[panel]))
else:
out.write("%s\n" % line)