Skip to content

Commit f88e107

Browse files
authored
Merge pull request #49 from 9dogs/master
Empty self.write() with no args removed, closes #43
2 parents 524af1a + 5e206d3 commit f88e107

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

gsmmodem/modem.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,6 @@ def _setSmsMemory(self, readDelete=None, write=None):
712712
""" Set the current SMS memory to use for read/delete/write operations """
713713
# Switch to the correct memory type if required
714714
if write != None and write != self._smsMemWrite:
715-
self.write()
716715
readDel = readDelete or self._smsMemReadDelete
717716
self.write('AT+CPMS="{0}","{1}"'.format(readDel, write))
718717
self._smsMemReadDelete = readDel

0 commit comments

Comments
 (0)