Fix the path error under Linux. Specify Python3 as the runtime.

This commit is contained in:
RRRRRm
2019-08-05 03:00:35 +08:00
parent 642c8103c7
commit 1086447369
7 changed files with 31 additions and 24 deletions

3
javdb.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import re
from lxml import etree
import json
@@ -137,4 +138,4 @@ def main(number):
js = json.dumps(dic, ensure_ascii=False, sort_keys=True, indent=4, separators=(',', ':'), ) # .encode('UTF-8')
return js
#print(main('061519-861'))
#print(main('061519-861'))