Skip to content

Commit

Permalink
cinnamon-xlet-makepot: Switch to subprocess module
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Jun 29, 2019
1 parent 6f1417d commit 3a53d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/usr/bin/cinnamon-xlet-makepot
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def scan_xlet():
'--output=%s' % pot_path
]
command_args += js_files
os.system(' '.join(command_args))
subprocess.run(command_args)
pot_exists = True

if args.python:
Expand All @@ -277,7 +277,7 @@ def scan_xlet():
if pot_exists:
command_args.append('-j')
command_args += py_files
os.system(' '.join(command_args))
subprocess.run(command_args)

print("Scanning metadata.json and settings-schema.json...")
scan_json(dir, pot_path)
Expand Down

0 comments on commit 3a53d5e

Please sign in to comment.