Fix typos and trailing spaces
This commit is contained in:
parent
3121e0c57d
commit
904c9ff5f9
1 changed files with 5 additions and 6 deletions
|
|
@ -17,7 +17,6 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import subprocess
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from re import search, sub
|
from re import search, sub
|
||||||
|
|
@ -144,7 +143,7 @@ class Galleroob(ReplApplication):
|
||||||
with open(name, 'w') as f:
|
with open(name, 'w') as f:
|
||||||
f.write(img.data)
|
f.write(img.data)
|
||||||
|
|
||||||
os.chdir("..")
|
os.chdir(os.path.pardir)
|
||||||
|
|
||||||
def do_info(self, line):
|
def do_info(self, line):
|
||||||
"""
|
"""
|
||||||
|
|
@ -156,7 +155,7 @@ class Galleroob(ReplApplication):
|
||||||
|
|
||||||
gallery = self.get_object(_id, 'get_gallery')
|
gallery = self.get_object(_id, 'get_gallery')
|
||||||
if not gallery:
|
if not gallery:
|
||||||
print >>sys.gallery, 'Gallery not found: %s' % _id
|
print >>sys.stderr, 'Gallery not found: %s' % _id
|
||||||
return
|
return
|
||||||
self.format(gallery)
|
self.format(gallery)
|
||||||
self.flush()
|
self.flush()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue