Skip to content

Commit

Permalink
[164] Improve parsing of local file identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinHeist committed Jul 25, 2024
1 parent 5aa7a00 commit 47f46f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/RemoteCardType2.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def __init__(self,
self.source = 'local'
else:
# Get username and class name from the identifier specification
username = identifier.split('/')[0]
class_name = identifier.split('/')[-1]
username = str(identifier).split('/')[0]
class_name = str(identifier).split('/')[-1]

# Download and write the CardType class into a temporary file
file_name = self.TEMP_DIR / f'{username}-{class_name}.py'
Expand Down
2 changes: 1 addition & 1 deletion modules/ref/version_webui
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0-alpha.10.1-webui163
v2.0-alpha.10.1-webui164

0 comments on commit 47f46f5

Please sign in to comment.