summaryrefslogtreecommitdiffstats
path: root/pyserver/scripts/test_script.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyserver/scripts/test_script.py')
-rw-r--r--pyserver/scripts/test_script.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pyserver/scripts/test_script.py b/pyserver/scripts/test_script.py
new file mode 100644
index 0000000..8f236e9
--- /dev/null
+++ b/pyserver/scripts/test_script.py
@@ -0,0 +1,10 @@
+import sys
+if sys.version_info >= (3,0):
+ import binascii
+
+def run(ctx, inpt):
+ if sys.version_info >= (3,0):
+ return binascii.a2b_uu('111')
+ else:
+ return bytearray('111')
+