summaryrefslogtreecommitdiff
path: root/raphodo/storage.py
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@debian.org>2017-12-30 12:18:30 -0500
committerAntoine Beaupré <anarcat@debian.org>2017-12-30 12:18:30 -0500
commit88c8bd4cd2ee4707f8a43be4d89c4e040dcced2f (patch)
tree01b10a0d80509730942706333f173c5aa7f239eb /raphodo/storage.py
parentc5fc6c6030d7d9d1b2af3d5165bebed3decd741b (diff)
New upstream version 0.9.6upstream/0.9.6
Diffstat (limited to 'raphodo/storage.py')
-rw-r--r--raphodo/storage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/raphodo/storage.py b/raphodo/storage.py
index 31acfef..6856c38 100644
--- a/raphodo/storage.py
+++ b/raphodo/storage.py
@@ -157,7 +157,8 @@ def get_media_dir() -> str:
run_media_dir = '/run{}'.format(media_dir)
distro = get_distro()
if os.path.isdir(run_media_dir) and distro not in (
- Distro.ubuntu, Distro.debian, Distro.neon, Distro.galliumos, Distro.peppermint):
+ Distro.ubuntu, Distro.debian, Distro.neon, Distro.galliumos, Distro.peppermint,
+ Distro.elementary):
if distro not in (Distro.fedora, Distro.manjaro, Distro.arch, Distro.opensuse,
Distro.gentoo, Distro.antergos):
logging.debug("Detected /run/media directory, but distro does not appear to "