Revert back to 'import sonic_platform' (#3249)
This commit is contained in:
parent
d45d00d1a0
commit
da57e8db36
@ -70,7 +70,7 @@ def main():
|
||||
# if there is no sonic_platform package installed, we only provide
|
||||
# software-related reboot causes.
|
||||
try:
|
||||
import sonic_platform.platform
|
||||
import sonic_platform
|
||||
|
||||
# Check if the previous reboot was caused by hardware
|
||||
platform = sonic_platform.platform.Platform()
|
||||
|
Loading…
Reference in New Issue
Block a user