convert to python3
This commit is contained in:
parent
089b987fea
commit
88a5ed9edc
12 changed files with 83 additions and 68 deletions
11
bin/peerlink
Executable file
11
bin/peerlink
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/python3
|
||||
import os
|
||||
import sys
|
||||
|
||||
root = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')
|
||||
if os.path.exists(os.path.join(root, 'peerlink')):
|
||||
sys.path.insert(0, root)
|
||||
|
||||
|
||||
from peerlink import server
|
||||
server.run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue