Skip to content

Commit

Permalink
add autoservernum option
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrntr committed Oct 19, 2017
1 parent d34c5be commit 908ccdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imgkit/imgkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def _command(self, path=None):
if '--xvfb' in options:
options.remove('--xvfb')
yield self.xvfb
# auto servernum option to prevent failure on concurrent runs
# https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/348052
yield '-a'

yield self.wkhtmltoimage

Expand Down

0 comments on commit 908ccdc

Please sign in to comment.