diff options
-rwxr-xr-x | open_media.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/open_media.py b/open_media.py index 588dc99..4abbd77 100755 --- a/open_media.py +++ b/open_media.py @@ -28,7 +28,7 @@ def sort_images(filename): return 0 def get_downloaded_list(): - process = subprocess.Popen([os.path.join(script_dir, "automedia.py"), "downloaded"], stdout=subprocess.PIPE) + process = subprocess.Popen(["automedia", "downloaded"], stdout=subprocess.PIPE) stdout, stderr = process.communicate() if process.returncode == 0: return stdout.decode().splitlines() |