Skip to content

Commit

Permalink
Reset to None
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Oct 11, 2023
1 parent 2eba0ff commit 78777d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions PyMca5/tests/SpecfileTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@
current_as_list = list(current_locale)
for i in range(len(current_as_list)):
if current_as_list[i] is None:
current_as_list[i] = ''
current_locale = tuple(current_as_list)
print(f"Patched locale <{current_locale}>")
print(f"Returned locale <{current_locale}> reset to None")
current_locale = None
locale.setlocale(locale.LC_ALL, current_locale)

class testSpecfile(unittest.TestCase):
Expand Down

0 comments on commit 78777d4

Please sign in to comment.