Skip to content

Commit

Permalink
Fix babel_refresh against Babel 2.12.x
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Mar 6, 2023
1 parent c113a47 commit 180b35a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion octoprint_setuptools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ def finalize_options(self):

self.babel_update_messages.input_file = self.__class__.pot_file
self.babel_update_messages.output_dir = self.__class__.output_dir
self.babel_update_messages.locale = _normalize_locale(self.locale)
if self.locale:
self.babel_update_messages.locale = _normalize_locale(self.locale)
self.babel_update_messages.finalize_options()

def run(self):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "OctoPrint-Setuptools"
version = "1.0.1"
version = "1.0.2"
description = "Setuptools helpers for installing OctoPrint & OctoPrint plugins"
authors = [
{name = "Gina Haeussge", email = "gina@octoprint.org"}, # ASCII to work around pypa/wheel#488
Expand Down

0 comments on commit 180b35a

Please sign in to comment.