Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Fix session in CLI on Debian systems
Browse files Browse the repository at this point in the history
Change-Id: I4b1a3e45417a8d8442e097d440ebee8a09a8aaa2
  • Loading branch information
loles committed Jan 22, 2016
1 parent c80a0d4 commit 47162e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solar/dblayer/standalone_session_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
def create_all():

import sys
if not sys.executable.endswith(('python', )):
if sys.executable.split('/')[-1] not in ['python', 'python2']:
# auto add session to only standalone python runs
return

Expand Down

0 comments on commit 47162e6

Please sign in to comment.