Browse Source

fix: don't chmod config file on android

283
ThomasV 9 years ago
parent
commit
a04b510395
  1. 2
      lib/simple_config.py

2
lib/simple_config.py

@ -131,7 +131,7 @@ class SimpleConfig(object):
f = open(path, "w")
f.write(s)
f.close()
if self.get('gui') != 'android':
if 'ANDROID_DATA' not in os.environ:
import stat
os.chmod(path, stat.S_IREAD | stat.S_IWRITE)

Loading…
Cancel
Save