summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archey.new2
1 files changed, 1 insertions, 1 deletions
diff --git a/archey.new b/archey.new
index dd157ad..b3b2521 100644
--- a/archey.new
+++ b/archey.new
@@ -114,7 +114,7 @@ class Output:
self.distro = self.__detectDistro()
def __detectDistro(self):
- if open('/etc/pacman.conf'):
+ if os.path.exists('/etc/pacman.conf'):
return 'Arch Linux'
def append(self, display):