summaryrefslogtreecommitdiffstats
path: root/pyserver/scripts/test_script.py
blob: fa0864cfb0f16da862ac2bd8b4004fa6585ffe42 (plain)
1
2
3
4
5
6
7
8
9
10
import sys
if sys.version_info >= (3,0):
   import binascii
   
def run(ctx, input):
   if sys.version_info >= (3,0):
      return binascii.a2b_uu('111')
   else:
      return bytearray(str(input) +'11\0\1\n')