Skip to content

Commit

Permalink
Fix gettext imports
Browse files Browse the repository at this point in the history
  • Loading branch information
th3-z committed Oct 6, 2019
1 parent b62e902 commit 97d0254
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion magicked_admin/server/motd_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from utils import debug, find_data_file, warning
from utils.text import millify, trim_string

_ = gettext.gettext()
_ = gettext.gettext


class MotdUpdater(threading.Thread):
Expand Down
2 changes: 1 addition & 1 deletion magicked_admin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from utils import die, fatal, find_data_file, info
from utils.net import resolve_address

_ = gettext.gettext()
_ = gettext.gettext

CONFIG_PATH = find_data_file("conf/magicked_admin.conf")
CONFIG_PATH_DISPLAY = "conf/magicked_admin.conf"
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ clean:
-@find . -name '*.pyo' -exec rm -f {} +

run:
-@./bin/magicked_admin
-@./bin/magicked_admin/magicked_admin

isort:
@sh -c "isort --recursive ."
Expand Down

0 comments on commit 97d0254

Please sign in to comment.