Skip to content

Commit

Permalink
revert version + fix underscore bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cruse1977 committed Dec 3, 2024
1 parent e5c2e9e commit 8f73ec2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ A netbox plugin providing floorplan mapping capability for locations and sites
| 3.5 | >= 0.3.2 |
| 3.6 | >= 0.3.2 |
| 4.0.x | 0.4.1 |
| 4.1.x | 0.5.0 |

## Installing

Expand All @@ -43,6 +42,7 @@ Enable Migrations:
cd /opt/netbox
sudo ./venv/bin/python3 netbox/manage.py makemigrations netbox_floorplan_plugin
sudo ./venv/bin/python3 netbox/manage.py migrate
sudo ./venv/bin/python3 netbox/manage.py collectstatic
```

Restart NetBox and add `netbox-floorplan-plugin` to your local_requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion netbox_floorplan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ def file_upload(instance, filename):
"""
path = 'netbox-floorplan/'

return f'{path}_{filename}'
return f'{path}{filename}'
2 changes: 1 addition & 1 deletion netbox_floorplan/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.0"
__version__ = "0.4.1"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def get_version(rel_path):
packages=find_packages(),
include_package_data=True,
zip_safe=False,
min_version="4.1.0",
max_version="4.1.99"
min_version="4.0.0",
max_version="4.0.99"
)

0 comments on commit 8f73ec2

Please sign in to comment.