summaryrefslogtreecommitdiffstats
path: root/api/examples/getvolfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/examples/getvolfile.py')
-rwxr-xr-xapi/examples/getvolfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/examples/getvolfile.py b/api/examples/getvolfile.py
index f1d5761d6b1..9a5dd0d290a 100755
--- a/api/examples/getvolfile.py
+++ b/api/examples/getvolfile.py
@@ -34,7 +34,7 @@ if __name__ == "__main__":
import sys
try:
- res = apply(get_volfile, sys.argv[1:3])
+ res = get_volfile(*sys.argv[1:3])
except:
print("fetching volfile failed (volume not started?)")