Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
Fix a few style violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Osvaldo Barrera committed May 17, 2018
1 parent 22927a4 commit 995ceba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/compile_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
if not os.path.isdir(lang_lc_dir):
os.mkdir(lang_lc_dir)

cmd = ["msgfmt",po,"-o",os.path.join(lang_lc_dir, "caffeine.mo")]
cmd = ["msgfmt", po, "-o", os.path.join(lang_lc_dir, "caffeine.mo")]

output = subprocess.check_output(cmd)
5 changes: 4 additions & 1 deletion scripts/update_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

print(subprocess.check_output("python scripts/generate_pot.py", shell=True))

print(subprocess.check_output("python scripts/compile_translations.py caffeine translations", shell=True))
print(subprocess.check_output(
"python scripts/compile_translations.py caffeine translations",
shell=True,
))

0 comments on commit 995ceba

Please sign in to comment.