Commits

Luke Plant  committed f7f64db

Fixed another Python 3 incompatibility

  • Participants
  • Parent commits 97d1ffe

Comments (0)

Files changed (1)

File playerdo/backends/shellfm.py

 
     def _socket_path(self):
         rc_path = os.path.join(os.environ['HOME'], '.shell-fm', 'shell-fm.rc')
-        conf = file(rc_path).read()
+        conf = open(rc_path).read()
         return re.search(r'^\s*unix\s*=\s*([^#\s]+)', conf, re.MULTILINE).groups()[0]
 
     def _send_command(self, command):