Skip to content

Commit df3e5d7

Browse files
committed
adding --user suppport on update scripts
1 parent cc2dd7d commit df3e5d7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pyradio/install.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,13 @@ def _download_pyradio(self):
235235
print('Error: Failed to download PyRadio source code...\n')
236236
sys.exit(1)
237237

238-
print('Extracting RyRadio source code...')
239-
with zipfile.ZipFile(os.path.join(self._dir, self.ZIP_DIR[self._package] + '.zip')) as z:
240-
try:
241-
z.extractall(path=self._dir)
242-
except:
243-
print('Error: PyRadio source code ZIP file is corrupt...\n')
244-
sys.exit(1)
238+
print('Extracting RyRadio source code...')
239+
with zipfile.ZipFile(os.path.join(self._dir, self.ZIP_DIR[self._package] + '.zip')) as z:
240+
try:
241+
z.extractall(path=self._dir)
242+
except:
243+
print('Error: PyRadio source code ZIP file is corrupt...\n')
244+
sys.exit(1)
245245

246246
def _mkdir(self, name, dir_exist_function=None, _permission_error_function=None):
247247
if os.path.isdir(name):

0 commit comments

Comments
 (0)