We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5cbdb01 + c1f7be8 commit 0ddb967Copy full SHA for 0ddb967
pacu/modules/dynamodb__enum/main.py
@@ -157,7 +157,7 @@ def summary(data, pacu_main):
157
158
def writeTableData(directory, table, data):
159
if not os.path.exists(directory):
160
- os.mkdir(directory)
+ os.makedirs(directory, exist_ok=True)
161
path = os.path.join(directory, table + '.txt')
162
with open(path, 'w+') as writeTableDump:
163
writeTableDump.write(pprint.pformat(data))
0 commit comments