Skip to content

Commit

Permalink
Fixes #281: Simpler json import for Python dynamic inventory example.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jun 3, 2020
1 parent 3d5febc commit c78c5d8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dynamic-inventory/custom/inventory.py
Expand Up @@ -7,11 +7,7 @@
import os
import sys
import argparse

try:
import json
except ImportError:
import simplejson as json
import json

class ExampleInventory(object):

Expand Down

0 comments on commit c78c5d8

Please sign in to comment.