mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
JSON fallback if simplejson is not available
This commit is contained in:
parent
c70c4fe7fa
commit
670247714f
1 changed files with 2 additions and 1 deletions
3
jrnl.py
3
jrnl.py
|
@ -9,7 +9,8 @@ import re
|
||||||
import argparse
|
import argparse
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import time
|
import time
|
||||||
import simplejson as json
|
try: import simplejson as json
|
||||||
|
except ImportError: import json
|
||||||
import sys
|
import sys
|
||||||
import readline, glob
|
import readline, glob
|
||||||
from Crypto.Cipher import AES
|
from Crypto.Cipher import AES
|
||||||
|
|
Loading…
Add table
Reference in a new issue