Skip to content

Commit

Permalink
Prevent dbus autolaunching (issue #66).
Browse files Browse the repository at this point in the history
  • Loading branch information
alkisg committed Sep 8, 2018
1 parent 67c7038 commit 5b4dd16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions epoptes-client/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@
gettext.textdomain('epoptes')
locale.textdomain('epoptes')
gettext = gettext.gettext
# Prevent dbus from getting autolaunched (issue #66)
if not os.getenv('DBUS_SESSION_BUS_ADDRESS'):
os.environ['DBUS_SESSION_BUS_ADDRESS'] = "unix:path=/dev/null"

0 comments on commit 5b4dd16

Please sign in to comment.