summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-24 03:36:20 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-24 03:36:20 +0200
commit6f6c61da00b020d51ffe092177a82489dbc2b2ad (patch)
treeb8b9a19ab6aed88878a0ab6c5afed0f32ba6e375
parent83c23f0aebb72359a29dc4dca31be2622acdbcb6 (diff)
debugging +/-
-rw-r--r--main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.py b/main.py
index d87eb3c..c8cc341 100644
--- a/main.py
+++ b/main.py
@@ -25,8 +25,10 @@ for i in range(1,10): # 10 connection attempts
try:
token = sys.argv[1]
addr, *_ = utils.get_party_address(token)
+ print("using party token")
except:
addr, token, *_ = utils.find_server()
+ print("joining random game")
# connect
c.connect(addr,token)