Skip to content

Commit

Permalink
Merge pull request #40 from ullmannJan/dev
Browse files Browse the repository at this point in the history
bugfix
  • Loading branch information
ullmannJan authored Oct 31, 2024
2 parents 81717ea + ffcbce1 commit 7773092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/measury/data_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@ def calculate_results(self):
]:
exponent_string = ""
exponent = 1
if unit[-1] == ["²"]:
if unit[-1] == "²":
exponent = 2
exponent_string = unit[-1]
if unit[-1] == ["³"]:
if unit[-1] == "³":
exponent = 3
exponent_string = unit[-1]

Expand Down

0 comments on commit 7773092

Please sign in to comment.