diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-11-09 13:43:39 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-11-09 13:43:39 +0100 |
commit | 56e9820442d941dd99d31059e926f6ad70b50f59 (patch) | |
tree | 9dc8befd9717766aedffbfd13874480142bb031b | |
parent | 7146d97ec92696c72afe6c019765548644cb8a24 (diff) | |
parent | a52a146f2749e8bd3a9b394dce55aebf64f3bff0 (diff) | |
download | ayatana-settings-56e9820442d941dd99d31059e926f6ad70b50f59.tar.gz ayatana-settings-56e9820442d941dd99d31059e926f6ad70b50f59.tar.bz2 ayatana-settings-56e9820442d941dd99d31059e926f6ad70b50f59.zip |
Merge branch 'tari01-pr/fix-desktop-file'
Attributes GH PR #3: https://github.com/AyatanaIndicators/ayatana-settings/pull/3
-rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ iFile = open('data/applications/{}.desktop.in'.format(APPNAME), 'r') oConfigParser = configparser.ConfigParser() oConfigParser.optionxform = str oConfigParser.read_file(iFile) +iFile.close() for strRoot, lstDirnames, lstFilenames in os.walk('po'): @@ -36,7 +37,7 @@ for sSection in oConfigParser.sections(): oFile = open('data/applications/{}.desktop'.format(APPNAME), 'w') oConfigParser.write(oFile, False) -oFile.truncate +oFile.close() for strRoot, lstDirnames, lstFilenames in os.walk('po'): |