mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-16 23:52:41 +00:00
fix: typo dist to dest
This commit is contained in:
@@ -26,10 +26,10 @@ from rest_framework.response import Response
|
||||
from django.utils._os import safe_join
|
||||
|
||||
|
||||
def unzip_playbook(src, dist):
|
||||
def unzip_playbook(src, dest):
|
||||
fz = zipfile.ZipFile(src, 'r')
|
||||
for file in fz.namelist():
|
||||
fz.extract(file, dist)
|
||||
fz.extract(file, dest)
|
||||
|
||||
|
||||
class PlaybookViewSet(JMSBulkModelViewSet):
|
||||
|
||||
Reference in New Issue
Block a user