Skip to content

Commit

Permalink
make sure variable is initialized
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@18600 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 25, 2018
1 parent ebbffa5 commit 9511e35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xpra/server/mixins/webcam_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def __init__(self):
self.webcam_device = ""
self.webcam_encodings = []
self.webcam_enabled = False
self.webcam_virtual_video_devices = 0

def init(self, opts):
self.webcam_enabled = opts.webcam.lower() not in FALSE_OPTIONS
Expand Down

0 comments on commit 9511e35

Please sign in to comment.