Note 9 - Debt (Details Textual) | Jul. 28, 2016USD ($) | Jul. 28, 2016CAD ($) | Jun. 19, 2012USD ($) | Oct. 31, 2018USD ($) | Oct. 31, 2018CAD ($) | Oct. 31, 2018USD ($) | Oct. 31, 2017USD ($) | Jan. 31, 2018USD ($) | Sep. 19, 2018USD ($) | Jan. 31, 2018CAD ($) |
Debt and Capital Lease Obligations, Total | | | | $ 21,600,000 | | $ 21,600,000 | | | | |
Debt Instrument, Increase (Decrease), Net, Total | | | | | | 5,800,000 | | | | |
Repayments of Lines of Credit | | | | | | 35,152,000 | $ 26,055,000 | | | |
Line of Credit, Current | | | | $ 13,662,000 | | 13,662,000 | | $ 7,273,000 | | |
Canadian Mortgage Note [Member] | | | | | | | | | | |
Proceeds from Issuance of Debt | $ 6,100,000 | $ 8,000,000 | | | | | | | | |
Debt Instrument, Maturity Date | Dec. 23, 2042 | Dec. 23, 2042 | | | | | | | | |
Debt Instrument, Interest Rate, Effective Percentage | 6.10% | 6.10% | | | | | | | | |
Debt Instrument, Periodic Payment, Interest | $ 28,000 | $ 37,000 | | | | | | | | |
Debt Instrument, Periodic Payment, Principal | $ 20,000 | $ 27,000 | | | | | | | | |
Mortgage Note Secured by Tennessee Manufacturing Facility [Member] | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | 4.50% | | | | | | | |
Debt Instrument, Maturity Date | | | Jul. 1, 2027 | | | | | | | |
Debt Instrument, Issuance Date | | | Jun. 19, 2012 | | | | | | | |
Proceeds from Issuance of Secured Debt | | | $ 1,800,000 | | | | | | | |
Debt Instrument, Periodic Payment, Total | | | $ 13,000 | | | | | | | |
Debt Instrument, Adjustable Interest Rate Period, Commencement Date | | | Jun. 19, 2022 | | | | | | | |
Debt Instrument, Interest Rate, Maximum Annual Increase | | | 2.00% | | | | | | | |
Debt Instrument, Adjustable Interest Rate, Ceiling | | | 18.00% | | | | | | | |
Debt Instrument, Adjustable Interest Rate, Floor | | | 4.50% | | | | | | | |
Three 2017 Capital Leases [Member] | | | | | | | | | | |
Debt Instrument, Periodic Payment, Total | | | | | | | | 100,000 | | |
Capital Lease Obligations, Total | | | | | | | | $ 800,000 | | $ 1,100,000 |
Debt Instrument, Maturity Date Range, Start | | | | | | | | Apr. 30, 2021 | | |
Debt Instrument, Maturity Date Range, End | | | | | | | | Sep. 29, 2022 | | |
Maximum [Member] | Three 2017 Capital Leases [Member] | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | 7.80% | | 7.80% |
Minimum [Member] | Three 2017 Capital Leases [Member] | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | 4.00% | | 4.00% |
Revolving Lines, North America [Member] | | | | | | | | | | |
Debt Instrument, Term | | | | 3 years | 3 years | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | $ 18,000,000 | | 18,000,000 | | | $ 15,000,000 | |
Repayments of Lines of Credit | | | | $ 3,773,823 | $ 4,794,528 | | | | | |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | | | | 0.375% | 0.375% | | | | | |
Line of Credit Facility, Capital Expenditures Restrictions | | | | $ 3,000,000 | | 3,000,000 | | | | |
Line of Credit Facility, Covenant Terms, EBITDA, Term One | | | | 1,807,000 | | 1,807,000 | | | | |
Line of Credit Facility, Covenant Terms, EBITDA, Term Two | | | | $ 2,462,000 | | $ 2,462,000 | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Term One | | | | 1.1 | | 1.1 | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Term Two | | | | 1.1 | | 1.1 | | | | |
Debt Instrument, Default Rate | | | | 2.00% | | 2.00% | | | | |
Line of Credit, Current | | | | $ 13,700,000 | | $ 13,700,000 | | | | |
Debt, Weighted Average Interest Rate | | | | 6.45% | | 6.45% | | | | |
Line of Credit Facility, Current Borrowing Capacity | | | | $ 2,900,000 | | $ 2,900,000 | | | | |
Line of Credit Facility, Expiration Date | | | | Sep. 20, 2021 | Sep. 20, 2021 | | | | | |
Revolving Lines, North America [Member] | Maximum [Member] | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | 7.75% | | 7.75% | | | | |
Revolving Lines, North America [Member] | Minimum [Member] | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | 5.78% | | 5.78% | | | | |
Letter of Credit [Member] | | | | | | | | | | |
Repayments of Lines of Credit | | | | $ 154,500 | | | | | | |
Foreign Revolving Lines [Member] | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | 9,100,000 | | $ 9,100,000 | | | | |
Line of Credit, Current | | | | $ 500,000 | | $ 500,000 | | | | |
Debt, Weighted Average Interest Rate | | | | 6.14% | | 6.14% | | | | |
Letters of Credit Outstanding, Amount | | | | $ 6,600,000 | | $ 6,600,000 | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | $ 2,100,000 | | $ 2,100,000 | | | | |
Foreign Revolving Lines [Member] | EIBOR [Member] | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | 3.50% | | | | |
Foreign Revolving Lines [Member] | Maximum [Member] | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | 6.14% | | 6.14% | | | | |
Foreign Revolving Lines [Member] | Minimum [Member] | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | 6.11% | | 6.11% | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | 4.50% | | 4.50% | | | | |