summaryrefslogtreecommitdiff
path: root/gerbonara/cam.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/cam.py')
-rw-r--r--gerbonara/cam.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerbonara/cam.py b/gerbonara/cam.py
index ef99dfc..7acc108 100644
--- a/gerbonara/cam.py
+++ b/gerbonara/cam.py
@@ -117,7 +117,8 @@ class FileSettings:
return deepcopy(self)
def __str__(self):
- return f'<File settings: unit={self.unit}/{self.angle_unit} notation={self.notation} zeros={self.zeros} number_format={self.number_format}>'
+ notation = f'notation={self.notation} ' if self.notation != 'absolute' else ''
+ return f'<File settings: unit={self.unit}/{self.angle_unit} {notation}zeros={self.zeros} number_format={self.number_format}>'
@property
def is_incremental(self):