summaryrefslogtreecommitdiff
path: root/Mozo/MainWindow.py
diff options
context:
space:
mode:
authorSorokin Alexei <[email protected]>2016-03-04 17:45:14 +0300
committerSorokin Alexei <[email protected]>2016-03-04 17:45:14 +0300
commit3710f2d441a11b066441a743331d3981d741ec45 (patch)
tree129f88740c899c87b9f32fdc7c76d201bb54666b /Mozo/MainWindow.py
parent7d515ef958e37d1a6044699a8e930fd10f649063 (diff)
downloadmozo-3710f2d441a11b066441a743331d3981d741ec45.tar.bz2
mozo-3710f2d441a11b066441a743331d3981d741ec45.tar.xz
fix use of spaces/tabs inconsistency in formatting
Diffstat (limited to 'Mozo/MainWindow.py')
-rw-r--r--Mozo/MainWindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mozo/MainWindow.py b/Mozo/MainWindow.py
index df9ebfa..ca2be27 100644
--- a/Mozo/MainWindow.py
+++ b/Mozo/MainWindow.py
@@ -558,8 +558,8 @@ class MainWindow:
if content_type == 'application/x-desktop':
input_stream = myfile.read()
(fd, tmppath) = tempfile.mkstemp(prefix='mozo-dnd', suffix='.desktop')
- with open(fd, "w") as f:
- f.write(input_stream.read())
+ with open(fd, "w") as f:
+ f.write(input_stream.read())
parser = util.DesktopParser(tmppath)
self.editor.createItem(parent, parser.get('Icon'), parser.get('Name', self.editor.locale), parser.get('Comment', self.editor.locale), parser.get('Exec'), parser.get('Terminal'), before, after)
elif content_type in ('application/x-shellscript', 'application/x-executable'):