File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,24 +31,24 @@ def do_capture(self):
31
31
ext = splitext (filepath )[- 1 ].lower ()
32
32
33
33
if (exists (filepath )):
34
- popup = MsgPopup (msg = "Picture with this name already exists!" )
34
+ popup = MsgPopup ("Picture with this name already exists!" )
35
35
popup .open ()
36
36
return False
37
37
38
38
try :
39
39
camera .take_picture (filename = filepath ,
40
40
on_complete = self .camera_callback )
41
41
except NotImplementedError :
42
- popup = MsgPopup (msg = "This feature has not yet been implemented for \
43
- this platform." )
42
+ popup = MsgPopup (
43
+ "This feature has not yet been implemented for this platform." )
44
44
popup .open ()
45
45
46
46
def camera_callback (self , filepath ):
47
47
if (exists (filepath )):
48
- popup = MsgPopup (msg = "Picture saved!" )
48
+ popup = MsgPopup ("Picture saved!" )
49
49
popup .open ()
50
50
else :
51
- popup = MsgPopup (msg = "Could not save your picture!" )
51
+ popup = MsgPopup ("Could not save your picture!" )
52
52
popup .open ()
53
53
54
54
You can’t perform that action at this time.
0 commit comments