sys.platform is linux on python3 not linux2
This commit is contained in:
parent
ee12580bcb
commit
42a06b1a86
1 changed files with 1 additions and 1 deletions
2
install
2
install
|
@ -164,7 +164,7 @@ if __name__ == '__main__':
|
|||
if len(sys.argv) == 1:
|
||||
if sys.platform == 'darwin':
|
||||
target = os.path.expanduser('~/Library/Application Support/Open Media Libary')
|
||||
elif sys.platform == 'linux2':
|
||||
elif sys.platform.startswith('linux'):
|
||||
target = os.path.expanduser('~/.local/share/openmedialibrary')
|
||||
else:
|
||||
target = os.path.join(os.curdir, 'openmedialibrary')
|
||||
|
|
Loading…
Reference in a new issue