Skip to content

Commit

Permalink
Add early exit from bitmessagemain because of python3 (as proposed in B…
Browse files Browse the repository at this point in the history
  • Loading branch information
g1itch committed Jan 27, 2021
1 parent 35f3a15 commit 4df40c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bitmessagemain.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@


import depends

depends.check_dependencies()
if sys.hexversion >= 0x3000000:
sys.stderr.write('python3 version not ready yet, use python2')
sys.exit()

import ctypes
import getopt
Expand Down

0 comments on commit 4df40c1

Please sign in to comment.