Skip to content

Commit b9553b0

Browse files
authored
Merge pull request #387 from WHOIGit/pyifcb1.1
Bump pyifcb to 1.1
2 parents 629cd56 + e6a5cd9 commit b9553b0

File tree

4 files changed

+4
-18
lines changed

4 files changed

+4
-18
lines changed

environment.yml

-13
This file was deleted.

ifcbdb/templates/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<div class="col-sm-12">
9898
<ul class="nav justify-content-center">
9999
<li class="nav-item">
100-
<span class="px-2">Version 1.0 - December 2019</span>
100+
<span class="px-2">Version 4.1 - April 2024</span>
101101
</li>
102102
<li class="nav-item">
103103
<a class="px-2" href="{% url 'about_page' %}">About</a>

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ rectpack==0.2.2
1414
scikit-image==0.22.0
1515
pysmb==1.2.9.1
1616
pyyaml==6.0.1
17-
git+https://github.com/joefutrelle/pyifcb@v1.0.0
17+
git+https://github.com/joefutrelle/pyifcb@v1.1.0

utilities/auto_transfer.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def load_config(config_file):
2121

2222
def sync_ifcb(name, dashboard_url, ifcb_config):
2323
address = ifcb_config['address']
24-
netbios_name = ifcb_config.get('netbios_name',None)
2524
username = ifcb_config.get('username','ifcb')
2625
password = ifcb_config.get('password','ifcb')
2726
share = ifcb_config.get('share','Data')
@@ -53,7 +52,7 @@ def hit_sync_endpoint(lid):
5352
logging.info(f'connecting to {name} ...')
5453

5554
try:
56-
ifcb = RemoteIfcb(address, username, password, netbios_name=netbios_name,
55+
ifcb = RemoteIfcb(address, username, password,
5756
share=share, directory=directory, timeout=timeout)
5857

5958
with ifcb:
@@ -67,7 +66,7 @@ def hit_sync_endpoint(lid):
6766
logging.info(f'transferring beads ...')
6867

6968
try:
70-
ifcb = RemoteIfcb(address, username, password, netbios_name=netbios_name,
69+
ifcb = RemoteIfcb(address, username, password,
7170
share=share, directory='beads', timeout=timeout)
7271

7372
with ifcb:

0 commit comments

Comments
 (0)