Skip to content

Commit

Permalink
Fixes #69
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Feb 9, 2020
1 parent 4c903d9 commit 429652c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/buttons/HacsButtonMainAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export class HacsButtonMainAction extends HacsRepositoryButton {
RepositoryInstall() {
if (this.pathExists && !this.repository.installed) {
let path: string = this.repository.local_path;
if (this.repository.category === "theme") {
if (
this.repository.category === "theme" ||
this.repository.category === "python_script"
) {
path = `${path}/${this.repository.file_name}`;
}
swal(
Expand Down

0 comments on commit 429652c

Please sign in to comment.