Fix
This commit is contained in:
6
main.py
6
main.py
@@ -686,7 +686,7 @@ def get_data(params, files, url):
|
||||
conf = ResponseWorkerConfig('config/response2.json', 'config/workspaces.json')
|
||||
worker = ResponseWorker(conf)
|
||||
fn = uuid4().hex
|
||||
dir = os.path.join('tmp', fn)
|
||||
dir = os.path.join(os.getcwd(), 'tmp', fn)
|
||||
os.makedirs(dir)
|
||||
worker.makeResponse(request_string, dir)
|
||||
make_archive(dir, 'zip', dir, '.')
|
||||
@@ -975,5 +975,5 @@ def test():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
# main()
|
||||
test()
|
||||
main()
|
||||
# test()
|
||||
|
||||
Reference in New Issue
Block a user