Skip to content

Commit

Permalink
Merge pull request #20 from team99/master
Browse files Browse the repository at this point in the history
add autoservernum option
  • Loading branch information
jarrekk committed Nov 2, 2017
2 parents d34c5be + 908ccdc commit 8db41ba
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 8db41ba

Please sign in to comment.