Fix the path error under Linux. Specify Python3 as the runtime.
This commit is contained in:
3
javdb.py
Normal file → Executable file
3
javdb.py
Normal file → Executable 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'))
|
||||
|
||||
Reference in New Issue
Block a user